[Mplayer-cvslog] CVS: main/libmpcodecs ad_libvorbis.c,1.13,1.14
Richard Felker CVS
syncmail at mplayerhq.hu
Sat Sep 18 06:20:15 CEST 2004
CVS change done by Richard Felker CVS
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv7426/libmpcodecs
Modified Files:
ad_libvorbis.c
Log Message:
fix reimar's 10l...no actually imho it's arpi's 100l for writing the
old bad init_audio_codec code that replaced all the values set by the
demuxer with "safe" defaults. no idea where this actually belongs --
here or the various demuxers -- but at least it works again now.
Index: ad_libvorbis.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ad_libvorbis.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- ad_libvorbis.c 29 Jan 2003 22:45:07 -0000 1.13
+++ ad_libvorbis.c 18 Sep 2004 04:20:13 -0000 1.14
@@ -148,6 +148,7 @@
// Setup the decoder
sh->channels=ov->vi.channels;
sh->samplerate=ov->vi.rate;
+ sh->samplesize=2;
// assume 128kbit if bitrate not specified in the header
sh->i_bps=((ov->vi.bitrate_nominal>0) ? ov->vi.bitrate_nominal : 128000)/8;
sh->context = ov;
More information about the MPlayer-cvslog
mailing list