Browse Source

avcodec/proresenc_anatoliy: Set bits_per_raw_sample

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.3
Michael Niedermayer 11 years ago
parent
commit
e263af3024
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavcodec/proresenc_anatoliy.c

+ 2
- 0
libavcodec/proresenc_anatoliy.c View 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");


Loading…
Cancel
Save