[Ffmpeg-devel] [PATCH] THP PCM decoder (GSoC Qualification)
Mike Melanson
mike
Tue Apr 3 21:10:54 CEST 2007
Mike Melanson wrote:
> Marco Gerards wrote:
>> + case CODEC_ID_ADPCM_THP:
>> + {
>> + GetBitContext gb;
>> + long table[16][2];
[...]
>> + for (ch = 0; ch < 2; ch++)
>> + for (i = 0; i < 16; i++)
>> + table[i][ch] = get_sbits(&gb, 16);
>
> I think this should be table[ch][i].
Nevermind; I just noticed that this lines up with the definition above,
though it's somewhat unorthodox. If this were incorrect, mono would not
work either.
--
-Mike Melanson
More information about the ffmpeg-devel
mailing list