diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-02-23 12:08:05 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-02-23 12:08:05 +0100 |
commit | 3c14c82b7e01b75aa360e86a1beba63af2e04b63 (patch) | |
tree | 13f6a560e6437d1abc9f8031a5a3f1db904f7810 /libavfilter/avfilter.c | |
parent | 0ac71f9a320d72b8fd1554fa5ca521be1bb4f724 (diff) | |
download | ffmpeg-streaming-3c14c82b7e01b75aa360e86a1beba63af2e04b63.zip ffmpeg-streaming-3c14c82b7e01b75aa360e86a1beba63af2e04b63.tar.gz |
avfilter: Silence warning: passing argument 3 of av_image_copy from incompatible pointer type
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/avfilter.c')
-rw-r--r-- | libavfilter/avfilter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index 7c0bee6..ffd1b4e 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -690,7 +690,7 @@ static int ff_filter_frame_framed(AVFilterLink *link, AVFilterBufferRef *frame) switch (link->type) { case AVMEDIA_TYPE_VIDEO: - av_image_copy(out->data, out->linesize, frame->data, frame->linesize, + av_image_copy(out->data, out->linesize, (const uint8_t **)frame->data, frame->linesize, frame->format, frame->video->w, frame->video->h); break; case AVMEDIA_TYPE_AUDIO: |