[FFmpeg-cvslog] h264: change MAX_DELAYED_PIC_COUNT check to av_assert0
Michael Niedermayer
git at videolan.org
Wed Aug 31 05:21:42 CEST 2011
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Aug 31 05:00:39 2011 +0200| [b955ab2f492e3b8c4cbf614f68f8d5bf79e1d1e1] | committer: Michael Niedermayer
h264: change MAX_DELAYED_PIC_COUNT check to av_assert0
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b955ab2f492e3b8c4cbf614f68f8d5bf79e1d1e1
---
libavcodec/h264.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index d9608b7..2893259 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)
More information about the ffmpeg-cvslog
mailing list