[NUT-devel] [nut]: r199 - trunk/nututils/demux_avi.c

ods15 subversion at mplayerhq.hu
Sat Nov 11 20:22:20 CET 2006


Author: ods15
Date: Sat Nov 11 20:22:20 2006
New Revision: 199

Modified:
   trunk/nututils/demux_avi.c

Log:
"flipped" samplerate fix :)


Modified: trunk/nututils/demux_avi.c
==============================================================================
--- trunk/nututils/demux_avi.c	(original)
+++ trunk/nututils/demux_avi.c	Sat Nov 11 20:22:20 2006
@@ -383,8 +383,8 @@
 			avi->s[i].codec_id = e_mp3;
 			avi->s[i].sh.decode_delay = 0;
 
-			avi->s[i].sh.samplerate_nom = 1;
-			avi->s[i].sh.samplerate_denom = avi->stream[i].audio->nSamplesPerSec;
+			avi->s[i].sh.samplerate_nom = avi->stream[i].audio->nSamplesPerSec;
+			avi->s[i].sh.samplerate_denom = 1;
 			avi->s[i].sh.channel_count = avi->stream[i].audio->nChannels;
 		}
 	}



More information about the NUT-devel mailing list