1
0
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:
Michael Niedermayer 2016-04-23 17:23:59 +02:00
parent 0499012a55
commit 38433345e5

View File

@ -2422,6 +2422,8 @@ fail:
av_frame_unref(frame);
}
av_assert0(ret <= avpkt->size);
return ret;
}