History

Change packet_size from signed to unsigned, since it never has a negative value. Currently, this is only used in qcp.c and mpegenc.c, and they are practically unaffected by this change.

See "[PATCH] make packet_size in AVFormatContext unsigned" thread on ML. Originally committed as revision 19250 to svn://svn.ffmpeg.org/ffmpeg/trunk

Ronald S. Bultje committed 17 years ago

Commit 92400be1 parent e877eaa1 file · +2 −2Browse files

Unified · Split

libavformat/avformat.h+2−2
@@ -23,7 +23,7 @@ · 22 unmodified lines
23 23
24#define LIBAVFORMAT_VERSION_MAJOR 5224#define LIBAVFORMAT_VERSION_MAJOR 52
25#define LIBAVFORMAT_VERSION_MINOR 3425#define LIBAVFORMAT_VERSION_MINOR 34
26#define LIBAVFORMAT_VERSION_MICRO 026#define LIBAVFORMAT_VERSION_MICRO 1
27 27
28#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \28#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
29 LIBAVFORMAT_VERSION_MINOR, \29 LIBAVFORMAT_VERSION_MINOR, \
@@ -553,7 +553,7 @@ typedef struct AVFormatContext { · 523 unmodified lines
553 int index_built;553 int index_built;
554 554
555 int mux_rate;555 int mux_rate;
556 int packet_size;556 unsigned int packet_size;
557 int preload;557 int preload;
558 int max_delay;558 int max_delay;
559 559

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t