[vlc-commits] asf: do not compute unused variable

Rafaël Carré git at videolan.org
Thu Jan 17 12:49:14 CET 2013


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Thu Jan 17 12:48:53 2013 +0100| [0baef1dd08efad3b91d2f3a877325db62a020aec] | committer: Rafaël Carré

asf: do not compute unused variable

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

 modules/demux/asf/asf.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/demux/asf/asf.c b/modules/demux/asf/asf.c
index 6156db6..878f4b4 100644
--- a/modules/demux/asf/asf.c
+++ b/modules/demux/asf/asf.c
@@ -425,7 +425,6 @@ static int DemuxPacket( demux_t *p_demux )
     int         i_packet_padding_length = 0;
 
     uint32_t    i_packet_send_time;
-    uint16_t    i_packet_duration;
     int         i_payload;
     int         i_payload_count;
     int         i_payload_length_type;
@@ -497,7 +496,7 @@ static int DemuxPacket( demux_t *p_demux )
     }
 
     i_packet_send_time = GetDWLE( p_peek + i_skip ); i_skip += 4;
-    i_packet_duration = GetWLE( p_peek + i_skip ); i_skip += 2;
+    /* uint16_t i_packet_duration = GetWLE( p_peek + i_skip ); */ i_skip += 2;
 
     i_packet_size_left = i_packet_length;
 



More information about the vlc-commits mailing list