avcodec/snowenc: Fix "incompatible pointer type" warning
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 5 May 2014 23:03:58 +0000 (01:03 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 5 May 2014 23:03:58 +0000 (01:03 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/snowenc.c

index 6291bb6..5067a36 100644 (file)
@@ -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;