Fix typo in v410 decoder.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
This commit is contained in:
parent
b5c8aa745e
commit
92566540c3
@ -30,10 +30,10 @@ static av_cold int v410_decode_init(AVCodecContext *avctx)
|
|||||||
|
|
||||||
if (avctx->width & 1) {
|
if (avctx->width & 1) {
|
||||||
if (avctx->err_recognition & AV_EF_EXPLODE) {
|
if (avctx->err_recognition & AV_EF_EXPLODE) {
|
||||||
av_log(avctx, AV_LOG_ERROR, "v410 requires width to be even, continuing anyway.\n");
|
av_log(avctx, AV_LOG_ERROR, "v410 requires width to be even.\n");
|
||||||
return AVERROR_INVALIDDATA;
|
return AVERROR_INVALIDDATA;
|
||||||
} else {
|
} else {
|
||||||
av_log(avctx, AV_LOG_WARNING, "v410 requires width to be even.\n");
|
av_log(avctx, AV_LOG_WARNING, "v410 requires width to be even, continuing anyway.\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user