aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-08-31 05:00:39 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-08-31 05:00:39 +0200
commitb955ab2f492e3b8c4cbf614f68f8d5bf79e1d1e1 (patch)
treea005e5754b7f3e23b05e1eb456095ff78c8be6b1
parent76ba894eabb28c27f3342da60c769cf079a83db6 (diff)
downloadffmpeg-b955ab2f492e3b8c4cbf614f68f8d5bf79e1d1e1.tar.gz
h264: change MAX_DELAYED_PIC_COUNT check to av_assert0
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/h264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index d9608b751d..28932599e0 100644
--- a/libavcodec/h264.c
+++ b/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)