Commit b955ab2f authored by Michael Niedermayer's avatar Michael Niedermayer

h264: change MAX_DELAYED_PIC_COUNT check to av_assert0

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 76ba894e
......@@ -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)
......
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