Commit e06ef9aa authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/dpxenc: Fix "libavcodec/dpxenc.c:250:44: warning: passing argument 3...

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: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent daabc59c
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment