[MPlayer-cvslog] r35541 - trunk/libmpdemux/demux_lavf.c
reimar
subversion at mplayerhq.hu
Fri Nov 30 22:31:14 CET 2012
Author: reimar
Date: Fri Nov 30 22:31:14 2012
New Revision: 35541
Log:
demux_lavf: support subtitle-only formats.
Modified:
trunk/libmpdemux/demux_lavf.c
Modified: trunk/libmpdemux/demux_lavf.c
==============================================================================
--- trunk/libmpdemux/demux_lavf.c Fri Nov 30 22:22:32 2012 (r35540)
+++ trunk/libmpdemux/demux_lavf.c Fri Nov 30 22:31:14 2012 (r35541)
@@ -595,6 +595,7 @@ static demuxer_t* demux_open_lavf(demuxe
if(!priv->video_streams){
if(!priv->audio_streams){
mp_msg(MSGT_HEADER,MSGL_ERR,"LAVF: no audio or video headers found - broken file?\n");
+ if (!priv->sub_streams)
return NULL;
}
demuxer->video->id=-2; // audio-only
More information about the MPlayer-cvslog
mailing list