diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2009-06-22 16:52:02 +0000 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2009-06-22 16:52:02 +0000 |
commit | 92400be255cd23dd29999e533d3df4e0537a2d18 (patch) | |
tree | 9b11e0d4a3ab37a84f654db3ab4960d30fb417ca | |
parent | e877eaacf3cf827e8a0736cb3e56cce90a7ba274 (diff) | |
download | ffmpeg-92400be255cd23dd29999e533d3df4e0537a2d18.tar.gz |
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
-rw-r--r-- | libavformat/avformat.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index b22cdce60b..25653cd39a 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -23,7 +23,7 @@ #define LIBAVFORMAT_VERSION_MAJOR 52 #define LIBAVFORMAT_VERSION_MINOR 34 -#define LIBAVFORMAT_VERSION_MICRO 0 +#define LIBAVFORMAT_VERSION_MICRO 1 #define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \ LIBAVFORMAT_VERSION_MINOR, \ @@ -553,7 +553,7 @@ typedef struct AVFormatContext { int index_built; int mux_rate; - int packet_size; + unsigned int packet_size; int preload; int max_delay; |