aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-05-30 18:22:00 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-05-30 18:49:25 +0200
commite263af30244cc7572e68cfb359c431cfcc07fb4f (patch)
tree03fdf46ec165aa0c93dde0cf5afbaffe529ec3ca
parent8716605a26057043a9be2d3f088eb4155564d6ec (diff)
downloadffmpeg-e263af30244cc7572e68cfb359c431cfcc07fb4f.tar.gz
avcodec/proresenc_anatoliy: Set bits_per_raw_sample
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/proresenc_anatoliy.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/proresenc_anatoliy.c b/libavcodec/proresenc_anatoliy.c
index dd75ad5b06..6514862191 100644
--- a/libavcodec/proresenc_anatoliy.c
+++ b/libavcodec/proresenc_anatoliy.c
@@ -545,6 +545,8 @@ static av_cold int prores_encode_init(AVCodecContext *avctx)
av_log(avctx, AV_LOG_ERROR, "need YUV422P10\n");
return -1;
}
+ avctx->bits_per_raw_sample = 10;
+
if (avctx->width & 0x1) {
av_log(avctx, AV_LOG_ERROR,
"frame width needs to be multiple of 2\n");