10l, setting a non-existent timestamp (default 0.0) when the pts flag isn't set in

the PES header is just wrong; leave the default MP_NOPTS_VALUE instead


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24973 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
nicodvb 2007-11-05 20:15:09 +00:00
parent 0290988bbd
commit a06eb8ac21
1 changed files with 1 additions and 0 deletions

View File

@ -575,6 +575,7 @@ static int demux_mpg_read_packet(demuxer_t *demux,int id){
if(l<len)
resize_demux_packet(dp, l);
len = l;
if(set_pts)
dp->pts=pts/90000.0f;
dp->pos=demux->filepos;
/*