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
2323
2424 #define LIBAVFORMAT_VERSION_MAJOR 52
2525 #define LIBAVFORMAT_VERSION_MINOR 34
26−#define LIBAVFORMAT_VERSION_MICRO 0
26+#define LIBAVFORMAT_VERSION_MICRO 1
2727
2828 #define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
2929 LIBAVFORMAT_VERSION_MINOR, \
@@ -553,7 +553,7 @@ typedef struct AVFormatContext { · 523 unmodified lines
553553 int index_built;
554554
555555 int mux_rate;
556− int packet_size;
556+ unsigned int packet_size;
557557 int preload;
558558 int max_delay;
559559

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