diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2015-10-24 12:06:22 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-10-24 12:16:04 +0200 |
commit | e06ef9aa5fe8a423ab58997f0c99112bb415b947 (patch) | |
tree | b44a92c21e669789d765fd60337d053f46220628 | |
parent | daabc59c645c0933f5b809981cef640c63c2cedb (diff) | |
download | ffmpeg-e06ef9aa5fe8a423ab58997f0c99112bb415b947.tar.gz |
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@niedermayer.cc>
-rw-r--r-- | libavcodec/dpxenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dpxenc.c b/libavcodec/dpxenc.c index 52e1ef2332..a5960334d5 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); } |