changeset 9618:85ad5d68ec98 libavcodec

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
author diego
date Fri, 08 May 2009 19:41:21 +0000
parents f4a60e47193f
children 35514159910f
files dnxhdenc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dnxhdenc.c	Fri May 08 15:14:36 2009 +0000
+++ b/dnxhdenc.c	Fri May 08 19:41:21 2009 +0000
@@ -711,7 +711,7 @@
     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;