mirror of https://github.com/mpv-player/mpv
Instead of printing a useless "sig11 coming soon" message, just abort parsing
in the hope of still saving things (helps with at least http://sam.zoy.org/zzuf/lol-mplayer.wmv). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21986 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
75282a6a83
commit
8e374ff809
|
@ -360,7 +360,10 @@ static int demux_asf_fill_buffer(demuxer_t *demux, demux_stream_t *ds){
|
|||
unsigned int time2=0;
|
||||
int keyframe=0;
|
||||
|
||||
if(p>=p_end) mp_msg(MSGT_DEMUX,MSGL_V,"Warning! invalid packet 1, sig11 coming soon...\n");
|
||||
if(p>=p_end) {
|
||||
mp_msg(MSGT_DEMUX,MSGL_V,"Warning! invalid packet 1, aborting parsing...\n");
|
||||
break;
|
||||
}
|
||||
|
||||
if( mp_msg_test(MSGT_DEMUX,MSGL_DBG2) ){
|
||||
int i;
|
||||
|
|
Loading…
Reference in New Issue