mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2025-01-23 04:16:07 +00: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:
parent
c21be5845f
commit
b8866783c6
@ -28,7 +28,7 @@ int ff_scale_image(uint8_t *dst_data[4], int dst_linesize[4],
|
||||
int ret;
|
||||
struct SwsContext *sws_ctx = sws_getContext(src_w, src_h, src_pix_fmt,
|
||||
dst_w, dst_h, dst_pix_fmt,
|
||||
SWS_BILINEAR, NULL, NULL, NULL);
|
||||
0, NULL, NULL, NULL);
|
||||
if (!sws_ctx) {
|
||||
av_log(log_ctx, AV_LOG_ERROR,
|
||||
"Impossible to create scale context for the conversion "
|
||||
|
Loading…
x
Reference in New Issue
Block a user