You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avfilter/lswsutils: dont override the default scaler
This should make no difference as this code is only used by removelogo which seems to refuse to use masks of different size. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -28,7 +28,7 @@ int ff_scale_image(uint8_t *dst_data[4], int dst_linesize[4],
|
|||||||
int ret;
|
int ret;
|
||||||
struct SwsContext *sws_ctx = sws_getContext(src_w, src_h, src_pix_fmt,
|
struct SwsContext *sws_ctx = sws_getContext(src_w, src_h, src_pix_fmt,
|
||||||
dst_w, dst_h, dst_pix_fmt,
|
dst_w, dst_h, dst_pix_fmt,
|
||||||
SWS_BILINEAR, NULL, NULL, NULL);
|
0, NULL, NULL, NULL);
|
||||||
if (!sws_ctx) {
|
if (!sws_ctx) {
|
||||||
av_log(log_ctx, AV_LOG_ERROR,
|
av_log(log_ctx, AV_LOG_ERROR,
|
||||||
"Impossible to create scale context for the conversion "
|
"Impossible to create scale context for the conversion "
|
||||||
|
Reference in New Issue
Block a user