[FFmpeg-cvslog] avfilter/lswsutils: dont override the default scaler

Michael Niedermayer git at videolan.org
Mon Oct 7 13:28:41 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Oct  7 11:54:03 2013 +0200| [b8866783c6a855643a3869020ac5241b12f7d97a] | committer: Michael Niedermayer

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 at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b8866783c6a855643a3869020ac5241b12f7d97a
---

 libavfilter/lswsutils.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/lswsutils.c b/libavfilter/lswsutils.c
index 6902ee9..ebb4f93 100644
--- a/libavfilter/lswsutils.c
+++ b/libavfilter/lswsutils.c
@@ -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 "



More information about the ffmpeg-cvslog mailing list