[FFmpeg-cvslog] vble: do not abort when version is not 1

Piotr Bandurski git at videolan.org
Mon Nov 19 01:56:56 CET 2012


ffmpeg | branch: master | Piotr Bandurski <ami_stuff at o2.pl> | Mon Nov 19 01:55:51 2012 +0100| [45d8537ccf22f8970959828e17fccc51d5bfc86d] | committer: Carl Eugen Hoyos

vble: do not abort when version is not 1

Fixes ticket #1923.

Reviewed-by: Derek Buitenhuis

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

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

diff --git a/libavcodec/vble.c b/libavcodec/vble.c
index 07efad8..fb09acd 100644
--- a/libavcodec/vble.c
+++ b/libavcodec/vble.c
@@ -141,8 +141,7 @@ static int vble_decode_frame(AVCodecContext *avctx, void *data, int *data_size,
     version = AV_RL32(src);
 
     if (version != 1) {
-        av_log(avctx, AV_LOG_ERROR, "Unsupported VBLE Version: %d\n", version);
-        return AVERROR_INVALIDDATA;
+        av_log(avctx, AV_LOG_WARNING, "Unsupported VBLE Version: %d\n", version);
     }
 
     init_get_bits(&gb, src + 4, (avpkt->size - 4) * 8);



More information about the ffmpeg-cvslog mailing list