Revision 6053da01 libavcodec/alac.c

View differences:

libavcodec/alac.c
540 540
            for (chan = 0; chan < channels; chan++) {
541 541
                int32_t audiobits;
542 542

  
543
                audiobits = get_bits_long(&alac->gb, alac->setinfo_sample_size);
544
                audiobits = sign_extend(audiobits, alac->setinfo_sample_size);
543
                audiobits = get_sbits_long(&alac->gb, alac->setinfo_sample_size);
545 544

  
546 545
                alac->outputsamples_buffer[chan][i] = audiobits;
547 546
            }

Also available in: Unified diff