~ppsspp/ppsspp/ffmpeg

« back to all changes in this revision

Viewing changes to libavformat/spdifdec.c

  • Committer: Henrik Rydgård
  • Date: 2014-01-03 10:44:32 UTC
  • Revision ID: git-v1:87c6c126784b1718bfa448ecf2e6a9fef781eb4e
Update our ffmpeg snapshot to a clone of the official repository.

This is because Maxim's at3plus support has been officially merged!

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
        break;
58
58
    case IEC61937_MPEG2_AAC:
59
59
        init_get_bits(&gbc, buf, AAC_ADTS_HEADER_SIZE * 8);
60
 
        if (avpriv_aac_parse_header(&gbc, &aac_hdr)) {
 
60
        if (avpriv_aac_parse_header(&gbc, &aac_hdr) < 0) {
61
61
            if (s) /* be silent during a probe */
62
62
                av_log(s, AV_LOG_ERROR, "Invalid AAC packet in IEC 61937\n");
63
63
            return AVERROR_INVALIDDATA;