[MPlayer-dev-eng] [PATCH] a-law in mov, ss_mul = 2 or ss_mul = 1?

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Wed Jan 12 23:11:26 CET 2005


Hi,
the attached patch set ss_mul to 2 for a-law and u-law encoded files.
This fixes e.g.
http://progressive.stream.aol.com/time/gl/mx/videos/2004/123004chandy2_dl.mov
Does anybody know why it is 1 currently? Does anybody have samples for
a-law or u-law in mov??

Greetings,
Reimar Döffinger
-------------- next part --------------
Index: libmpcodecs/ad_alaw.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ad_alaw.c,v
retrieving revision 1.4
diff -u -r1.4 ad_alaw.c
--- libmpcodecs/ad_alaw.c	21 Sep 2004 20:34:46 -0000	1.4
+++ libmpcodecs/ad_alaw.c	4 Jan 2005 14:52:58 -0000
@@ -33,7 +33,7 @@
 {
   sh->audio_out_minsize=2048;
   sh->ds->ss_div = 1; // 1 samples/packet
-  sh->ds->ss_mul = 1; // 1 bytes/packet
+  sh->ds->ss_mul = 2; // ??? 2 bytes/packet
   return 1;
 }
 


More information about the MPlayer-dev-eng mailing list