diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c index da2d911ebc..65e8c73b52 100644 --- a/libavcodec/h264_slice.c +++ b/libavcodec/h264_slice.c @@ -779,9 +779,6 @@ static int h264_frame_start(H264Context *h) h->block_offset[48 + 32 + i] = (4 * ((scan8[i] - scan8[0]) & 7) << pixel_shift) + 8 * h->uvlinesize * ((scan8[i] - scan8[0]) >> 3); } - // s->decode = (h->flags & CODEC_FLAG_PSNR) || !s->encoding || - // h->cur_pic.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().