From 07dd1419bdd9ab41d427835e330b3ff2c9fd7fc9 Mon Sep 17 00:00:00 2001 From: arpi Date: Thu, 9 Aug 2001 23:50:35 +0000 Subject: silly a_pts bug git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1477 b3059339-0415-0410-9bf9-f77b7e298cf2 --- demux_avi.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'demux_avi.c') diff --git a/demux_avi.c b/demux_avi.c index 5895ba5104..fd2587c058 100644 --- a/demux_avi.c +++ b/demux_avi.c @@ -84,8 +84,7 @@ static int demux_avi_read_packet(demuxer_t *demux,unsigned int id,unsigned int l } else pts_corr_bytes+=len; } - - pts=avi_audio_pts+pts_correction; + pts=avi_audio_pts; //+pts_correction; avi_audio_pts=0; } else if(ds==demux->video){ @@ -114,7 +113,7 @@ static int demux_avi_read_packet(demuxer_t *demux,unsigned int id,unsigned int l // avi_video_pts+=avi_video_ftime; #endif // printf("\rYYY-V A: %5.3f V: %5.3f \n",avi_audio_pts,avi_video_pts); - avi_audio_pts=avi_video_pts; + avi_audio_pts=avi_video_pts+pts_correction; pts_has_video=1; } -- cgit v1.2.3