Commit 13b353a7 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/asvdec: dont fail without extradata

extradata is not mandatory to decode asv
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 1e9a850d
......@@ -272,8 +272,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
int i;
if (avctx->extradata_size < 1) {
av_log(avctx, AV_LOG_ERROR, "No extradata provided\n");
return AVERROR_INVALIDDATA;
av_log(avctx, AV_LOG_WARNING, "No extradata provided\n");
}
ff_asv_common_init(avctx);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment