[FFmpeg-cvslog] avcodec/asvdec: dont fail without extradata

Michael Niedermayer git at videolan.org
Fri Sep 20 12:58:51 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Sep 20 12:50:05 2013 +0200| [13b353a7cb27b5c749c2e7bc987053a566445efb] | committer: Michael Niedermayer

avcodec/asvdec: dont fail without extradata

extradata is not mandatory to decode asv

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=13b353a7cb27b5c749c2e7bc987053a566445efb
---

 libavcodec/asvdec.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/libavcodec/asvdec.c b/libavcodec/asvdec.c
index 4cd1fd2..14bbeb7 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);



More information about the ffmpeg-cvslog mailing list