[FFmpeg-cvslog] hevc: remove a redundant line

Anton Khirnov git at videolan.org
Mon Nov 17 11:36:47 CET 2014


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Sat Nov 15 20:40:12 2014 +0100| [84b9463984083f4e83948c73c1a5dbaf596ff3f7] | committer: Anton Khirnov

hevc: remove a redundant line

pred_mode is overwritten a few lines immediately below.

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

 libavcodec/hevc.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c
index 4557bdf..f775fdf 100644
--- a/libavcodec/hevc.c
+++ b/libavcodec/hevc.c
@@ -2078,7 +2078,6 @@ static int hls_coding_unit(HEVCContext *s, int x0, int y0, int log2_cb_size)
     if (s->sh.slice_type != I_SLICE) {
         uint8_t skip_flag = ff_hevc_skip_flag_decode(s, x0, y0, x_cb, y_cb);
 
-        lc->cu.pred_mode = MODE_SKIP;
         x = y_cb * min_cb_width + x_cb;
         for (y = 0; y < length; y++) {
             memset(&s->skip_flag[x], skip_flag, length);



More information about the ffmpeg-cvslog mailing list