Signed-off-by: Michael Niedermayer <[email protected]>
---
libavcodec/ffv1enc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/ffv1enc.c b/libavcodec/ffv1enc.c
index 221344794e2..35a1ae16d48 100644
--- a/libavcodec/ffv1enc.c
+++ b/libavcodec/ffv1enc.c
@@ -942,7 +942,7 @@ av_cold int ff_ffv1_encode_setup_plane_info(AVCodecContext
*avctx,
return AVERROR(ENOSYS);
}
s->flt = !!(desc->flags & AV_PIX_FMT_FLAG_FLOAT);
- if (s->flt)
+ if (s->flt || s->remap_mode > 0)
s->version = FFMAX(s->version, 4);
av_assert0(s->bits_per_raw_sample >= 8);
--
2.49.0
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".