From cf67f1655c30083d1f8474b07937915f110cbd33 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 23 Jul 2008 14:59:55 +0000 Subject: [PATCH] 100l cross_idr simplification had a typo Originally committed as revision 14351 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/h264.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 5aab7a84bd..0497624ba1 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -7887,7 +7887,7 @@ static int decode_frame(AVCodecContext *avctx, out = h->delayed_pic[i]; out_idx = i; } - cross_idr = !h->delayed_pic[0]->poc || !h->delayed_pic[i]; + cross_idr = !h->delayed_pic[0]->poc || !!h->delayed_pic[i]; out_of_order = !cross_idr && out->poc < h->outputed_poc;