diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2015-04-22 20:50:10 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2015-04-22 20:50:10 +0200 |
commit | 0a51c7d42a519c63178a4f3e35b8967f21da3a6a (patch) | |
tree | d25c69a90306d72f174319355d94854caa99dc61 /libavcodec/proresenc.c | |
parent | 28eddef689f2b4843a84f7d05fd9614246f92cc4 (diff) | |
download | ffmpeg-0a51c7d42a519c63178a4f3e35b8967f21da3a6a.tar.gz |
prores: Set the bits_per_coded_sample for alpha pix_fmt
Improve the compatibility with other software.
Diffstat (limited to 'libavcodec/proresenc.c')
-rw-r--r-- | libavcodec/proresenc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/proresenc.c b/libavcodec/proresenc.c index f61aa60a20..3a5524aa4c 100644 --- a/libavcodec/proresenc.c +++ b/libavcodec/proresenc.c @@ -1151,6 +1151,7 @@ static av_cold int encode_init(AVCodecContext *avctx) av_log(avctx, AV_LOG_ERROR, "alpha bits should be 0, 8 or 16\n"); return AVERROR(EINVAL); } + avctx->bits_per_coded_sample = 32; } else { ctx->alpha_bits = 0; } |