diff options
author | Daniel Verkamp <daniel@drv.nu> | 2009-05-08 19:41:21 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2009-05-08 19:41:21 +0000 |
commit | 10ce919561f943f3e6f85b94c124227e204c6a96 (patch) | |
tree | cb901c346fd2073596c5653a4214115dfbf58615 /libavcodec | |
parent | b755a754d144cf166ab5ab62260f8b351d969187 (diff) | |
download | ffmpeg-10ce919561f943f3e6f85b94c124227e204c6a96.tar.gz |
data parameter of dnxhd_encode_picture() should not be const.
Fixes "dnxhdenc.c:805: warning: initialization from incompatible pointer type".
patch by Daniel Verkamp, daniel drv nu
Originally committed as revision 18773 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/dnxhdenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dnxhdenc.c b/libavcodec/dnxhdenc.c index f206b72d60..54ccec4296 100644 --- a/libavcodec/dnxhdenc.c +++ b/libavcodec/dnxhdenc.c @@ -711,7 +711,7 @@ static void dnxhd_load_picture(DNXHDEncContext *ctx, const AVFrame *frame) ctx->cur_field = frame->interlaced_frame && !frame->top_field_first; } -static int dnxhd_encode_picture(AVCodecContext *avctx, unsigned char *buf, int buf_size, const void *data) +static int dnxhd_encode_picture(AVCodecContext *avctx, unsigned char *buf, int buf_size, void *data) { DNXHDEncContext *ctx = avctx->priv_data; int first_field = 1; |