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

aurel subversion at mplayerhq.hu
Tue May 4 00:40:01 CEST 2010


Author: aurel
Date: Tue May  4 00:40:00 2010
New Revision: 31131

Log:
10l: correctly use video_stream instead of audio_stream in the video section
( copy&paste error :( )

Modified:
   trunk/libmpdemux/demux_lavf.c

Modified: trunk/libmpdemux/demux_lavf.c
==============================================================================
--- trunk/libmpdemux/demux_lavf.c	Tue May  4 00:30:06 2010	(r31130)
+++ trunk/libmpdemux/demux_lavf.c	Tue May  4 00:40:00 2010	(r31131)
@@ -329,8 +329,8 @@ static void handle_stream(demuxer_t *dem
         case CODEC_TYPE_VIDEO:{
             sh_video_t* sh_video;
             BITMAPINFOHEADER *bih;
-            sh_video=new_sh_video_vid(demuxer, i, priv->audio_streams);
-            mp_msg(MSGT_DEMUX, MSGL_INFO, MSGTR_VideoID, "lavf", priv->audio_streams);
+            sh_video=new_sh_video_vid(demuxer, i, priv->video_streams);
+            mp_msg(MSGT_DEMUX, MSGL_INFO, MSGTR_VideoID, "lavf", priv->video_streams);
             if(!sh_video) break;
             priv->vstreams[priv->video_streams] = i;
             bih=calloc(sizeof(BITMAPINFOHEADER) + codec->extradata_size,1);


More information about the MPlayer-cvslog mailing list