changeset 36385:fc93e82b8afc

demux_lavf: Ignore failure to find stream info. It is not necessarily fatal and allows playback of HEVC ES streams.
author reimar
date Sun, 20 Oct 2013 12:51:38 +0000
parents e79bac50b920
children 416614dd856b
files libmpdemux/demux_lavf.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_lavf.c	Sun Oct 20 12:51:35 2013 +0000
+++ b/libmpdemux/demux_lavf.c	Sun Oct 20 12:51:38 2013 +0000
@@ -589,7 +589,6 @@
 
     if(avformat_find_stream_info(avfc, NULL) < 0){
         mp_msg(MSGT_HEADER,MSGL_ERR,"LAVF_header: av_find_stream_info() failed\n");
-        return NULL;
     }
 
     /* Add metadata. */