1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-10-03 17:29:30 +02:00

vble: do not abort when version is not 1

Fixes ticket #1923.

Reviewed-by: Derek Buitenhuis
This commit is contained in:
Piotr Bandurski 2012-11-19 01:55:51 +01:00 committed by Carl Eugen Hoyos
parent 24c043c98e
commit 45d8537ccf

View File

@ -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);