Revision ca402f32 libavformat/wtv.c

View differences:

libavformat/wtv.c
675 675
        if (!st)
676 676
            return NULL;
677 677
        if (!ff_guidcmp(formattype, format_waveformatex)) {
678
            ff_get_wav_header(pb, st->codec, size);
678
            int ret = ff_get_wav_header(pb, st->codec, size);
679
            if (ret < 0)
680
                return NULL;
679 681
        } else {
680 682
            if (ff_guidcmp(formattype, format_none))
681 683
                av_log(s, AV_LOG_WARNING, "unknown formattype:"PRI_GUID"\n", ARG_GUID(formattype));

Also available in: Unified diff