mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-19 05:49:09 +02:00
avcodec/utils: Assert that the number of consumed bytes in avcodec_decode_audio4() is <= the input size
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
0499012a55
commit
38433345e5
@ -2422,6 +2422,8 @@ fail:
|
||||
av_frame_unref(frame);
|
||||
}
|
||||
|
||||
av_assert0(ret <= avpkt->size);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user