You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avcodec/ffv1enc: remap allows using rice golomb with more bits
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
@@ -972,7 +972,7 @@ static av_cold int encode_init_internal(AVCodecContext *avctx)
|
|||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
if (s->bits_per_raw_sample > (s->version > 3 ? 16 : 8)) {
|
if (s->bits_per_raw_sample > (s->version > 3 ? 16 : 8) && !s->remap_mode) {
|
||||||
if (s->ac == AC_GOLOMB_RICE) {
|
if (s->ac == AC_GOLOMB_RICE) {
|
||||||
av_log(avctx, AV_LOG_INFO,
|
av_log(avctx, AV_LOG_INFO,
|
||||||
"high bits_per_raw_sample, forcing range coder\n");
|
"high bits_per_raw_sample, forcing range coder\n");
|
||||||
|
Reference in New Issue
Block a user