changeset 1477:8b7ede5849f4

ehh. yet anouther silly a_pts bug
author arpi
date Fri, 10 Aug 2001 01:00:34 +0000
parents e17940b2cbb2
children 6f9167f0fcca
files demux_avi.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/demux_avi.c	Thu Aug 09 23:50:35 2001 +0000
+++ b/demux_avi.c	Fri Aug 10 01:00:34 2001 +0000
@@ -80,6 +80,7 @@
 	      printf("XXX initial  v_pts=%5.3f  a_pos=%d (%5.3f) \n",avi_audio_pts,pts_corr_bytes,delay);
 	      //pts_correction=-avi_audio_pts+delay;
 	      pts_correction=delay-avi_audio_pts;
+	      avi_audio_pts+=pts_correction;
 	      pts_corrected=1;
 	  } else
           pts_corr_bytes+=len;