diff options
author | Piotr Bandurski <ami_stuff@o2.pl> | 2012-11-19 01:55:51 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2012-11-19 01:55:51 +0100 |
commit | 45d8537ccf22f8970959828e17fccc51d5bfc86d (patch) | |
tree | 8c46ef4adeb3ca8a6480bc9b15769131058a61f4 | |
parent | 24c043c98ef22b9d4aa7a54ec5f1cebd21042dd7 (diff) | |
download | ffmpeg-45d8537ccf22f8970959828e17fccc51d5bfc86d.tar.gz |
vble: do not abort when version is not 1
Fixes ticket #1923.
Reviewed-by: Derek Buitenhuis
-rw-r--r-- | libavcodec/vble.c | 3 |
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); |