[FFmpeg-devel] [PATCH] Fix warning in libavfilter/vf_scale.c

Eli Friedman eli.friedman
Sun Jun 27 20:13:31 CEST 2010


Patch attached; the warning comes from the call to sws_scale on line 190.

-Eli
-------------- next part --------------
Index: libavfilter/vf_scale.c
===================================================================
--- libavfilter/vf_scale.c	(revision 23827)
+++ libavfilter/vf_scale.c	(working copy)
@@ -173,7 +173,7 @@
     ScaleContext *scale = link->dst->priv;
     int out_h;
     AVFilterPicRef *cur_pic = link->cur_pic;
-    uint8_t *data[4];
+    const uint8_t *data[4];
 
     if (scale->slice_y == 0 && slice_dir == -1)
         scale->slice_y = link->dst->outputs[0]->h;



More information about the ffmpeg-devel mailing list