[MPlayer-dev-eng] Fwd: [MPlayer-users] error in patch to fix bad code (UMR) in mp3lib/layer2.c causing signal 11 in mplayer

D Richard Felker III dalias at aerifal.cx
Wed Jan 29 05:51:56 CET 2003


Would someone commit this 1l fix from -users? Thanks!

Rich


----- Forwarded message from Nilmoni Deb <ndeb at ece.cmu.edu> -----

Date: Tue, 28 Jan 2003 23:34:37 +0000 (UTC)
From: Nilmoni Deb <ndeb at ece.cmu.edu>
To: mplayer-users at mplayerhq.hu
cc: dalias at aerifal.cx
Subject: [MPlayer-users] 
 error in patch to fix bad code (UMR) in mp3lib/layer2.c causing
 signal 11 in mplayer 
Precedence: list
Reply-To: "MPlayer user's list." <mplayer-users at mplayerhq.hu>

[Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]

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

_______________________________________________
RTFM!!!  http://www.MPlayerHQ.hu/DOCS
Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
http://mplayerhq.hu/mailman/listinfo/mplayer-users

----- End forwarded message -----


More information about the MPlayer-dev-eng mailing list