aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPiotr Bandurski <ami_stuff@o2.pl>2012-11-19 01:55:51 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2012-11-19 01:55:51 +0100
commit45d8537ccf22f8970959828e17fccc51d5bfc86d (patch)
tree8c46ef4adeb3ca8a6480bc9b15769131058a61f4
parent24c043c98ef22b9d4aa7a54ec5f1cebd21042dd7 (diff)
downloadffmpeg-45d8537ccf22f8970959828e17fccc51d5bfc86d.tar.gz
vble: do not abort when version is not 1
Fixes ticket #1923. Reviewed-by: Derek Buitenhuis
-rw-r--r--libavcodec/vble.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/vble.c b/libavcodec/vble.c
index 07efad8f4a..fb09acde80 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);