You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
Merge commit '0a51c7d42a519c63178a4f3e35b8967f21da3a6a'
* commit '0a51c7d42a519c63178a4f3e35b8967f21da3a6a': prores: Set the bits_per_coded_sample for alpha pix_fmt Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -1163,6 +1163,7 @@ static av_cold int encode_init(AVCodecContext *avctx)
|
|||||||
av_log(avctx, AV_LOG_ERROR, "alpha bits should be 0, 8 or 16\n");
|
av_log(avctx, AV_LOG_ERROR, "alpha bits should be 0, 8 or 16\n");
|
||||||
return AVERROR(EINVAL);
|
return AVERROR(EINVAL);
|
||||||
}
|
}
|
||||||
|
avctx->bits_per_coded_sample = 32;
|
||||||
} else {
|
} else {
|
||||||
ctx->alpha_bits = 0;
|
ctx->alpha_bits = 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user