mirror of
https://github.com/mpv-player/mpv
synced 2025-01-29 03:02:53 +00:00
Do not just print a warning, also fix the len in ASF demuxer!
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27299 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
c2c1ef0189
commit
3f35a38237
@ -488,6 +488,7 @@ static int demux_asf_fill_buffer(demuxer_t *demux, demux_stream_t *ds){
|
||||
}
|
||||
if(len<0 || (p+len)>p_end){
|
||||
mp_msg(MSGT_DEMUX,MSGL_V,"ASF_parser: warning! segment len=%d\n",len);
|
||||
len = p_end - p;
|
||||
}
|
||||
mp_dbg(MSGT_DEMUX,MSGL_DBG4," seg #%d: streamno=%d seq=%d type=%02X len=%d\n",seg,streamno,seq,rlen,len);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user