. 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)
This commit is contained in:
Sam Hocevar 2000-12-18 10:02:30 +00:00
parent 2dabbaa9f5
commit 1cf5dd7b4b
1 changed files with 1 additions and 1 deletions

View File

@ -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,