X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fqcp.c;h=1ef86fe34d896183b31276d9306c82bc48389adc;hb=3bcf443f91d83dffbcfdafa07d151c2b7028bf04;hp=3cb85fb00a64f76772566786658f1e2fb11596d7;hpb=bb4fb7715cf7a19e9833a3a8a598342552499a24;p=ffmpeg diff --git a/libavformat/qcp.c b/libavformat/qcp.c index 3cb85fb00a6..1ef86fe34d8 100644 --- a/libavformat/qcp.c +++ b/libavformat/qcp.c @@ -102,11 +102,9 @@ static int qcp_read_header(AVFormatContext *s) if (is_qcelp_13k_guid(buf)) { st->codec->codec_id = AV_CODEC_ID_QCELP; } else if (!memcmp(buf, guid_evrc, 16)) { - av_log(s, AV_LOG_ERROR, "EVRC codec is not supported.\n"); - return AVERROR_PATCHWELCOME; + st->codec->codec_id = AV_CODEC_ID_EVRC; } else if (!memcmp(buf, guid_smv, 16)) { - av_log(s, AV_LOG_ERROR, "SMV codec is not supported.\n"); - return AVERROR_PATCHWELCOME; + st->codec->codec_id = AV_CODEC_ID_SMV; } else { av_log(s, AV_LOG_ERROR, "Unknown codec GUID.\n"); return AVERROR_INVALIDDATA;