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>
pull/235/head^2
Michael Niedermayer 9 years ago
parent 0499012a55
commit 38433345e5
  1. 2
      libavcodec/utils.c

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

Loading…
Cancel
Save