Revision 73c27046

View differences:

libavcodec/aacsbr.c
897 897
//TODO - implement ps_data for parametric stereo parsing
898 898
    switch (bs_extension_id) {
899 899
    case EXTENSION_ID_PS:
900
        if (!ac->m4ac.ps) {
901
            av_log(ac->avccontext, AV_LOG_ERROR, "Parametric Stereo signaled to be not-present but was found in the bitstream.\n");
902
        skip_bits_long(gb, *num_bits_left); // bs_fill_bits
903
        *num_bits_left = 0;
904
        } else {
900 905
#if 0
901 906
        *num_bits_left -= ff_ps_data(gb, ps);
902 907
#else
......
904 909
        skip_bits_long(gb, *num_bits_left); // bs_fill_bits
905 910
        *num_bits_left = 0;
906 911
#endif
912
        }
907 913
        break;
908 914
    default:
909 915
        av_log_missing_feature(ac->avccontext, "Reserved SBR extensions are", 1);

Also available in: Unified diff