Commit 1cf5dd7b authored by Sam Hocevar's avatar Sam Hocevar

 . additional fix for Layer 1 mono

   now vlc plays all of my 125 sample mpeg1 movies !

   Please try it with yours, and report non-working streams.
    (`file foo.mpeg' must report "system stream", not "video stream" in
       order to be playable with the vlc)
parent 2dabbaa9
......@@ -442,7 +442,7 @@ static void adec_layer2_get_table( u32 header, u8 freq_table[15],
static int adec_layer2_mono (audiodec_t * p_adec, s16 * buffer)
{
static u8 freq_table[15] = {2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2};
static u8 freq_table[15] = {2, 1, 1, 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2};
static float L3_table[3] = {-2/3.0, 0, 2/3.0};
static float L5_table[5] = {-4/5.0, -2/5.0, 0, 2/5.0, 4/5.0};
static float L9_table[9] = {-8/9.0, -6/9.0, -4/9.0, -2/9.0, 0,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment