Commit e263af30 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/proresenc_anatoliy: Set bits_per_raw_sample

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 8716605a
...@@ -545,6 +545,8 @@ static av_cold int prores_encode_init(AVCodecContext *avctx) ...@@ -545,6 +545,8 @@ static av_cold int prores_encode_init(AVCodecContext *avctx)
av_log(avctx, AV_LOG_ERROR, "need YUV422P10\n"); av_log(avctx, AV_LOG_ERROR, "need YUV422P10\n");
return -1; return -1;
} }
avctx->bits_per_raw_sample = 10;
if (avctx->width & 0x1) { if (avctx->width & 0x1) {
av_log(avctx, AV_LOG_ERROR, av_log(avctx, AV_LOG_ERROR,
"frame width needs to be multiple of 2\n"); "frame width needs to be multiple of 2\n");
......
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