Revision ca402f32 libavformat/matroskadec.c

View differences:

libavformat/matroskadec.c
1329 1329
        } else if (!strcmp(track->codec_id, "A_MS/ACM")
1330 1330
                   && track->codec_priv.size >= 14
1331 1331
                   && track->codec_priv.data != NULL) {
1332
            int ret;
1332 1333
            ffio_init_context(&b, track->codec_priv.data, track->codec_priv.size,
1333 1334
                          AVIO_RDONLY, NULL, NULL, NULL, NULL);
1334
            ff_get_wav_header(&b, st->codec, track->codec_priv.size);
1335
            ret = ff_get_wav_header(&b, st->codec, track->codec_priv.size);
1336
            if (ret < 0)
1337
                return ret;
1335 1338
            codec_id = st->codec->codec_id;
1336 1339
            extradata_offset = FFMIN(track->codec_priv.size, 18);
1337 1340
        } else if (!strcmp(track->codec_id, "V_QUICKTIME")

Also available in: Unified diff