mirror of https://github.com/mpv-player/mpv
Fixed seeking in MPEG4 files. Patch by Uwe Reder <Uwe.Reder@3SOFT.de>.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10850 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
00a449bea5
commit
d078c2bbf1
|
@ -1682,6 +1682,7 @@ if(trak->pos==0 && trak->stream_header_len>0){
|
|||
stream_read(demuxer->stream,dp->buffer+trak->stream_header_len,x);
|
||||
free(trak->stream_header);
|
||||
trak->stream_header = NULL;
|
||||
trak->stream_header_len = 0;
|
||||
dp->pts=pts;
|
||||
dp->flags=0;
|
||||
dp->pos=pos; // FIXME?
|
||||
|
|
Loading…
Reference in New Issue