mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-06-19 19:03:00 +02:00
h264: change MAX_DELAYED_PIC_COUNT check to av_assert0
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user