Mercurial > mplayer.hg
changeset 31074:84a83cc32f99
10l: correctly use video_stream instead of audio_stream in the video section
( copy&paste error :( )
author | aurel |
---|---|
date | Mon, 03 May 2010 22:40:00 +0000 |
parents | c35d122852da |
children | a259f3d8694d |
files | libmpdemux/demux_lavf.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_lavf.c Mon May 03 22:30:06 2010 +0000 +++ b/libmpdemux/demux_lavf.c Mon May 03 22:40:00 2010 +0000 @@ -329,8 +329,8 @@ 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);