Commit 45d8537c authored by Piotr Bandurski's avatar Piotr Bandurski Committed by Carl Eugen Hoyos

vble: do not abort when version is not 1

Fixes ticket #1923.

Reviewed-by: Derek Buitenhuis
parent 24c043c9
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment