[FFmpeg-cvslog] avcodec/dpxenc: Fix "libavcodec/dpxenc.c:250:44: warning: passing argument 3 of av_image_copy_to_buffer from incompatible pointer type "
Michael Niedermayer
git at videolan.org
Sat Oct 24 13:02:16 CEST 2015
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Sat Oct 24 12:06:22 2015 +0200| [e06ef9aa5fe8a423ab58997f0c99112bb415b947] | committer: Michael Niedermayer
avcodec/dpxenc: Fix "libavcodec/dpxenc.c:250:44: warning: passing argument 3 of av_image_copy_to_buffer from incompatible pointer type"
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e06ef9aa5fe8a423ab58997f0c99112bb415b947
---
libavcodec/dpxenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/dpxenc.c b/libavcodec/dpxenc.c
index 52e1ef2..a596033 100644
--- a/libavcodec/dpxenc.c
+++ b/libavcodec/dpxenc.c
@@ -245,7 +245,7 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt,
}
} else {
size = av_image_copy_to_buffer(buf + HEADER_SIZE, pkt->size - HEADER_SIZE,
- frame->data, frame->linesize,
+ (const uint8_t**)frame->data, frame->linesize,
avctx->pix_fmt,
avctx->width, avctx->height, 1);
}
More information about the ffmpeg-cvslog
mailing list