/*
+ * Copyright 2012 Stefano Sabatini <stefasab gmail com>
+ *
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
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)