fix verbatim mode decoding. patch by Jai Menon (realityman gmx net).

Originally committed as revision 13775 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Jai Menon 17 years ago committed by Justin Ruggles
parent 40f8675ccf
commit 66b26265f8
  1. 4
      libavcodec/alac.c

@ -536,8 +536,8 @@ static int alac_decode_frame(AVCodecContext *avctx,
} else {
/* not compressed, easy case */
int i, chan;
for (chan = 0; chan < channels; chan++)
for (i = 0; i < outputsamples; i++) {
for (i = 0; i < outputsamples; i++)
for (chan = 0; chan < channels; chan++) {
int32_t audiobits;
audiobits = get_bits_long(&alac->gb, alac->setinfo_sample_size);

Loading…
Cancel
Save