[vlc-commits] codec: synchro: remove dead code

Steve Lhomme git at videolan.org
Wed Sep 19 11:58:13 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Wed May  9 10:49:49 2018 +0200| [68f1529e19ad840407cde2eb84f7c4a77cefadd3] | committer: Steve Lhomme

codec: synchro: remove dead code

The variables are not used after that

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

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

diff --git a/modules/codec/synchro.c b/modules/codec/synchro.c
index 63fb507100..ac3e7c36c2 100644
--- a/modules/codec/synchro.c
+++ b/modules/codec/synchro.c
@@ -555,14 +555,12 @@ void decoder_SynchroNewPicture( decoder_synchro_t * p_synchro, int i_coding_type
             }
             /* By definition of a DTS. */
             p_synchro->current_pts = next_dts;
-            next_dts = 0;
         }
 
         if( next_pts )
         {
             /* Store the PTS for the next time we have to date an I picture. */
             p_synchro->backward_pts = next_pts;
-            next_pts = 0;
         }
     }
 #undef PTS_THRESHOLD



More information about the vlc-commits mailing list