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>
This commit is contained in:
committed by
Vittorio Giovara
parent
1eec9bfc38
commit
1c77ead1fb
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user