[MPlayer-users] error in patch to fix bad code (UMR) in mp3lib/layer2.c causing signal 11 in mplayer
Nilmoni Deb
ndeb at ece.cmu.edu
Wed Jan 29 00:34:37 CET 2003
Hi,
This is in reference to the patch posted in
http://MPlayerHQ.hu/pipermail/mplayer-dev-eng/2003-January/015158.html
The patch is already in CVS:
http://www.MPlayerHQ.hu/cgi-bin/cvsweb.cgi/main/mp3lib/layer2.c?sortby=date
(version 1.3)
But I noticed an error in the patch that had slipped my eyes earlier.
Here's the one-line patch (self-explanatory):
------ PATCH STARTS NEXT LINE -----
--- layer2.c.old 2003-01-28 23:23:50.000000000 +0000
+++ layer2.c 2003-01-28 23:24:36.000000000 +0000
@@ -235,7 +235,7 @@
static void II_select_table(struct frame *fr)
{
- static int translate[8][2][16] =
+ static int translate[9][2][16] =
{ { { 0,2,2,2,2,2,2,0,0,0,1,1,1,1,1,0 } , /*44.1 stereo*/
{ 0,2,2,0,0,0,1,1,1,1,1,1,1,1,1,0 } } , /*44.1 mono*/
{ { 0,2,2,2,2,2,2,0,0,0,0,0,0,0,0,0 } , /*48 stereo*/
------ PATCH ENDED PREVIOUS LINE -----
thanks
- Nil
More information about the MPlayer-users
mailing list