[vlc-commits] AVI: do not look for strh node if we do not need it

Jean-Baptiste Kempf git at videolan.org
Thu Jul 26 23:21:44 CEST 2012


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Jul 26 11:51:15 2012 +0200| [f0d806883910a9117f190e0bb7858c615821d598] | committer: Jean-Baptiste Kempf

AVI: do not look for strh node if we do not need it

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

 modules/demux/avi/avi.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/modules/demux/avi/avi.c b/modules/demux/avi/avi.c
index b7b503a..a20cdf0 100644
--- a/modules/demux/avi/avi.c
+++ b/modules/demux/avi/avi.c
@@ -702,7 +702,6 @@ aviindex:
     {
         avi_track_t         *tk = p_sys->track[i];
         avi_chunk_list_t    *p_strl;
-        avi_chunk_strh_t    *p_strh;
         avi_chunk_strf_auds_t    *p_auds;
 
         if( tk->i_cat != AUDIO_ES )
@@ -716,7 +715,6 @@ aviindex:
             continue;
         }
         p_strl = AVI_ChunkFind( p_hdrl, AVIFOURCC_strl, i );
-        p_strh = AVI_ChunkFind( p_strl, AVIFOURCC_strh, 0 );
         p_auds = AVI_ChunkFind( p_strl, AVIFOURCC_strf, 0 );
 
         if( p_auds->p_wf->wFormatTag != WAVE_FORMAT_PCM &&



More information about the vlc-commits mailing list