[vlc-commits] PVA: remove write-only variable

Jean-Baptiste Kempf git at videolan.org
Sun Mar 27 12:49:51 CEST 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Mar 27 12:42:47 2011 +0200| [10c867dd2b59db89d095bdb64d0146998c553207] | committer: Jean-Baptiste Kempf

PVA: remove write-only variable

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

 modules/demux/pva.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/modules/demux/pva.c b/modules/demux/pva.c
index b02f8dd..f94f5f6 100644
--- a/modules/demux/pva.c
+++ b/modules/demux/pva.c
@@ -380,7 +380,6 @@ static void ParsePES( demux_t *p_demux )
     demux_sys_t *p_sys = p_demux->p_sys;
     block_t     *p_pes = p_sys->p_pes;
     uint8_t     hdr[30];
-    int         i_pes_size;
 
     unsigned    i_skip;
     mtime_t     i_dts = -1;
@@ -398,7 +397,7 @@ static void ParsePES( demux_t *p_demux )
         block_ChainRelease( p_pes );
         return;
     }
-    i_pes_size = GetWBE( &hdr[4] );
+    GetWBE( &hdr[4] ); /* i_pes_size */
 
     /* we assume mpeg2 PES */
     i_skip = hdr[8] + 9;



More information about the vlc-commits mailing list