[MPlayer-cvslog] r18990 - trunk/libmpdemux/demux_lavf.c

rfelker subversion at mplayerhq.hu
Mon Jul 10 04:53:07 CEST 2006


Author: rfelker
Date: Mon Jul 10 04:53:06 2006
New Revision: 18990

Modified:
   trunk/libmpdemux/demux_lavf.c

Log:
more c++ decl crap

Modified: trunk/libmpdemux/demux_lavf.c
==============================================================================
--- trunk/libmpdemux/demux_lavf.c	(original)
+++ trunk/libmpdemux/demux_lavf.c	Mon Jul 10 04:53:06 2006
@@ -187,9 +187,10 @@
         switch(codec->codec_type){
         case CODEC_TYPE_AUDIO:{
             WAVEFORMATEX *wf= calloc(sizeof(WAVEFORMATEX) + codec->extradata_size, 1);
+            sh_audio_t* sh_audio;
             if(priv->audio_streams >= MAX_A_STREAMS)
                 break;
-            sh_audio_t* sh_audio=new_sh_audio(demuxer, i);
+            sh_audio=new_sh_audio(demuxer, i);
             if(!sh_audio)
                 break;
             priv->astreams[priv->audio_streams] = i;



More information about the MPlayer-cvslog mailing list