diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-09-20 12:50:05 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-09-20 12:51:22 +0200 |
commit | 13b353a7cb27b5c749c2e7bc987053a566445efb (patch) | |
tree | eb78aa8cca77106fcbb1c6c45b04a51f1c7e9901 /libavcodec | |
parent | 1e9a850df9b2d4824155cfa2513998875dc4823b (diff) | |
download | ffmpeg-13b353a7cb27b5c749c2e7bc987053a566445efb.tar.gz |
avcodec/asvdec: dont fail without extradata
extradata is not mandatory to decode asv
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/asvdec.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/asvdec.c b/libavcodec/asvdec.c index 4cd1fd27bc..14bbeb74ad 100644 --- a/libavcodec/asvdec.c +++ b/libavcodec/asvdec.c @@ -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); |