Mercurial > libavformat.hg
changeset 5057:c9bbf0a253a8 libavformat
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.
author | rbultje |
---|---|
date | Mon, 22 Jun 2009 16:52:02 +0000 |
parents | f67fad61077e |
children | 33a244b7ca65 |
files | avformat.h |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/avformat.h Sun Jun 21 20:18:29 2009 +0000 +++ b/avformat.h Mon Jun 22 16:52:02 2009 +0000 @@ -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 @@ int index_built; int mux_rate; - int packet_size; + unsigned int packet_size; int preload; int max_delay;