Michael Niedermayer <michaelni <at> gmx.at> writes: > > + if (scale->in_range) > > != AVCOL_RANGE_UNSPECIFIED > > > + av_opt_set_int(*s, "src_range", scale->in_range > 1, 0); > > AVCOL_RANGE_JPEG > > otherwise LGTM Pushed with these changes. Thank you, Carl Eugen