[FFmpeg-cvslog] h264: minor simplification

Michael Niedermayer git at videolan.org
Thu Nov 17 01:52:58 CET 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Nov 17 00:36:38 2011 +0100| [ed83f8489179981f2f8572d46ac3c3a0833a3e8e] | committer: Michael Niedermayer

h264: minor simplification

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ed83f8489179981f2f8572d46ac3c3a0833a3e8e
---

 libavcodec/h264.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 289f90d..256c830 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -1484,7 +1484,7 @@ static void decode_postinit(H264Context *h, int setup_finished){
         }
     }
     out_of_order = MAX_DELAYED_PIC_COUNT - i;
-    if(s->low_delay && cur->f.pict_type == AV_PICTURE_TYPE_B)
+    if(cur->f.pict_type == AV_PICTURE_TYPE_B)
         out_of_order = FFMAX(out_of_order, 1);
     if(s->avctx->has_b_frames < out_of_order && !h->sps.bitstream_restriction_flag){
         av_log(s->avctx, AV_LOG_WARNING, "Increasing reorder buffer to %d\n", out_of_order);



More information about the ffmpeg-cvslog mailing list