h264: change MAX_DELAYED_PIC_COUNT check to av_assert0

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/2/head
Michael Niedermayer 14 years ago
parent 76ba894eab
commit b955ab2f49
  1. 2
      libavcodec/h264.c

@ -1379,7 +1379,7 @@ static void decode_postinit(H264Context *h, int setup_finished){
pics = 0;
while(h->delayed_pic[pics]) pics++;
assert(pics <= MAX_DELAYED_PIC_COUNT);
av_assert0(pics <= MAX_DELAYED_PIC_COUNT);
h->delayed_pic[pics++] = cur;
if (cur->f.reference == 0)

Loading…
Cancel
Save