[vlc-commits] avcodec: remove write-only decoder_sys_t.i_skip_idct

Rémi Denis-Courmont git at videolan.org
Thu Sep 11 21:42:53 CEST 2014


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Sep 11 22:42:32 2014 +0300| [58534817c7647a1262ce0775a8e06aa0f15c6d83] | committer: Rémi Denis-Courmont

avcodec: remove write-only decoder_sys_t.i_skip_idct

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

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

diff --git a/modules/codec/avcodec/video.c b/modules/codec/avcodec/video.c
index 8910dd9..1234da8 100644
--- a/modules/codec/avcodec/video.c
+++ b/modules/codec/avcodec/video.c
@@ -57,7 +57,6 @@ struct decoder_sys_t
     /* for frame skipping algo */
     bool b_hurry_up;
     enum AVDiscard i_skip_frame;
-    enum AVDiscard i_skip_idct;
 
     /* how many decoded frames are late */
     int     i_late_frames;
@@ -325,7 +324,6 @@ int InitVideoDec( decoder_t *p_dec, AVCodecContext *p_context,
     else if( i_val == 1 ) p_context->skip_idct = AVDISCARD_NONREF;
     else if( i_val == -1 ) p_context->skip_idct = AVDISCARD_NONE;
     else p_context->skip_idct = AVDISCARD_DEFAULT;
-    p_sys->i_skip_idct = p_context->skip_idct;
 
     /* ***** libavcodec direct rendering ***** */
     p_sys->b_direct_rendering = false;



More information about the vlc-commits mailing list