[Mplayer-cvslog] CVS: main/libmpdemux demux_avi.c,1.36,1.37

Arpi of Ize arpi at mplayer.dev.hu
Tue Dec 4 01:26:32 CET 2001


Update of /cvsroot/mplayer/main/libmpdemux
In directory mplayer:/var/tmp.root/cvs-serv6076

Modified Files:
	demux_avi.c 
Log Message:
using audio.dwStart too... (for baittest.avi)

Index: demux_avi.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_avi.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- demux_avi.c	11 Nov 2001 13:25:06 -0000	1.36
+++ demux_avi.c	4 Dec 2001 00:26:21 -0000	1.37
@@ -608,6 +608,7 @@
 	    curr_audio_pos*=align;
 #else
 	    curr_audio_pos=(priv->avi_video_pts)*(float)sh_audio->audio.dwRate/(float)sh_audio->audio.dwScale;
+	    curr_audio_pos-=sh_audio->audio.dwStart;
 	    curr_audio_pos*=sh_audio->audio.dwSampleSize;
 #endif
 




More information about the MPlayer-cvslog mailing list