avcodec/proresenc_anatoliy: Set bits_per_raw_sample
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 30 May 2014 16:22:00 +0000 (18:22 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 30 May 2014 16:49:25 +0000 (18:49 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/proresenc_anatoliy.c

index dd75ad5..6514862 100644 (file)
@@ -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");