summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-05-26 19:50:05 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-05-26 20:45:59 +0200
commit6d401effc410512a690090ae02a8a9cd022444ae (patch)
tree6027b3eb2a082920a4d62e3e45ed1e9652b05556
parentbe97675e6cf686900ea4ff39251cec94cfe4109c (diff)
downloadffmpeg-6d401effc410512a690090ae02a8a9cd022444ae.tar.gz
lavfutils: fix incompatible pointer type warning
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavfilter/lavfutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/lavfutils.c b/libavfilter/lavfutils.c
index ce0466d1a3..70f7e7169a 100644
--- a/libavfilter/lavfutils.c
+++ b/libavfilter/lavfutils.c
@@ -82,7 +82,7 @@ int ff_load_image(uint8_t *data[4], int linesize[4],
goto end;
ret = 0;
- av_image_copy(data, linesize, frame->data, frame->linesize, *pix_fmt, *w, *h);
+ av_image_copy(data, linesize, (const uint8_t **)frame->data, frame->linesize, *pix_fmt, *w, *h);
end:
if (codec_ctx)