From 2baf1c8c6080ba03dd399be895a9545054196804 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 6 May 2014 01:03:58 +0200 Subject: avcodec/snowenc: Fix "incompatible pointer type" warning Signed-off-by: Michael Niedermayer --- libavcodec/snowenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec') diff --git a/libavcodec/snowenc.c b/libavcodec/snowenc.c index 6291bb67fd..5067a363ce 100644 --- a/libavcodec/snowenc.c +++ b/libavcodec/snowenc.c @@ -1543,7 +1543,7 @@ static void calculate_visual_weight(SnowContext *s, Plane *p){ } static int encode_frame(AVCodecContext *avctx, AVPacket *pkt, - AVFrame *pict, int *got_packet) + const AVFrame *pict, int *got_packet) { SnowContext *s = avctx->priv_data; RangeCoder * const c= &s->c; -- cgit v1.2.3