[vlc-commits] codec: avcodec: remove leftoff cc code

Francois Cartegnie git at videolan.org
Wed Jul 5 14:56:00 CEST 2017


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Jul  5 14:54:02 2017 +0200| [a962390cc9a05fc1e89537389ae4514559a10823] | committer: Francois Cartegnie

codec: avcodec: remove leftoff cc code

now goes through pf_
8728715d351858d38578dacc9b2b68c21c51c2cf

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

 modules/codec/avcodec/video.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/modules/codec/avcodec/video.c b/modules/codec/avcodec/video.c
index 0a0379ac28..a8003878ac 100644
--- a/modules/codec/avcodec/video.c
+++ b/modules/codec/avcodec/video.c
@@ -318,7 +318,6 @@ static int lavc_UpdateVideoFormat(decoder_t *dec, AVCodecContext *ctx,
                                     __MAX(ctx->ticks_per_frame, 1),
                                     fmt_out.i_frame_rate_base);
 
-    const int i_cc_reorder = dec->fmt_out.subs.cc.i_reorder_depth;
     fmt_out.p_palette = dec->fmt_out.video.p_palette;
     dec->fmt_out.video.p_palette = NULL;
 
@@ -332,8 +331,6 @@ static int lavc_UpdateVideoFormat(decoder_t *dec, AVCodecContext *ctx,
         dec->fmt_out.video.mastering = dec->fmt_in.video.mastering;
     dec->fmt_out.video.lighting = dec->fmt_in.video.lighting;
 
-    dec->fmt_out.subs.cc.i_reorder_depth = i_cc_reorder;
-
     return decoder_UpdateVideoFormat(dec);
 }
 



More information about the vlc-commits mailing list