Remove apparently unneeded out!=NULL check.
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 19 Jul 2008 11:57:29 +0000 (11:57 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 19 Jul 2008 11:57:29 +0000 (11:57 +0000)
Originally committed as revision 14299 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h264.c

index 7e2b058..6445b1c 100644 (file)
@@ -7856,7 +7856,7 @@ static int decode_frame(AVCodecContext *avctx,
                 { }
             else if((out_of_order && pics-1 == s->avctx->has_b_frames && pics < 15)
                || (s->low_delay &&
-                ((!cross_idr && out && out->poc > h->outputed_poc + 2)
+                ((!cross_idr && out->poc > h->outputed_poc + 2)
                  || cur->pict_type == FF_B_TYPE)))
             {
                 s->low_delay = 0;