Commit 38433345 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/utils: Assert that the number of consumed bytes in...

avcodec/utils: Assert that the number of consumed bytes in avcodec_decode_audio4() is <= the input size
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 0499012a
......@@ -2422,6 +2422,8 @@ fail:
av_frame_unref(frame);
}
av_assert0(ret <= avpkt->size);
return ret;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment