[FFmpeg-cvslog] h264: drop commented out cruft

Anton Khirnov git at videolan.org
Wed Apr 30 00:47:21 CEST 2014


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Tue Apr 29 11:13:43 2014 +0200| [9d76dd952ffd9fffc7f9fb5cc5af6d093ba54521] | committer: Anton Khirnov

h264: drop commented out cruft

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

 libavcodec/h264_slice.c |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c
index aed2378..cc1b896 100644
--- a/libavcodec/h264_slice.c
+++ b/libavcodec/h264_slice.c
@@ -730,9 +730,6 @@ static int h264_frame_start(H264Context *h)
     memset(h->slice_table, -1,
            (h->mb_height * h->mb_stride - 1) * sizeof(*h->slice_table));
 
-    // s->decode = (s->flags & CODEC_FLAG_PSNR) || !s->encoding ||
-    //             s->current_picture.f.reference /* || h->contains_intra */ || 1;
-
     /* We mark the current picture as non-reference after allocating it, so
      * that if we break out due to an error it can be released automatically
      * in the next ff_MPV_frame_start().



More information about the ffmpeg-cvslog mailing list