diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2014-12-04 12:00:01 +0100 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-12-04 13:14:28 +0000 |
commit | 1c77ead1fb14d64e6798fc5e32af04abcb3cebb4 (patch) | |
tree | 11cb13fd52c8cb23839758837cdaef5e8803f26f /libavformat/rmdec.c | |
parent | 1eec9bfc383f6dca29d83a2bfb45433dd66561c9 (diff) | |
download | ffmpeg-1c77ead1fb14d64e6798fc5e32af04abcb3cebb4.tar.gz |
rm: Use the correct codec_data_size signedness
The function takes a size and not an offset.
CC: libav-stable@libav.org
Sample-Id: rm_deadlock.rm
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavformat/rmdec.c')
-rw-r--r-- | libavformat/rmdec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c index 38fb1ec607..9173dde901 100644 --- a/libavformat/rmdec.c +++ b/libavformat/rmdec.c @@ -282,9 +282,9 @@ static int rm_read_audio_stream_info(AVFormatContext *s, AVIOContext *pb, return 0; } -int -ff_rm_read_mdpr_codecdata (AVFormatContext *s, AVIOContext *pb, - AVStream *st, RMStream *rst, int codec_data_size) +int ff_rm_read_mdpr_codecdata(AVFormatContext *s, AVIOContext *pb, + AVStream *st, RMStream *rst, + unsigned int codec_data_size) { unsigned int v; int size; |