[FFmpeg-cvslog] avcodec/snowenc: Fix "incompatible pointer type" warning

Michael Niedermayer git at videolan.org
Tue May 6 01:46:08 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue May  6 01:03:58 2014 +0200| [2baf1c8c6080ba03dd399be895a9545054196804] | committer: Michael Niedermayer

avcodec/snowenc: Fix "incompatible pointer type" warning

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2baf1c8c6080ba03dd399be895a9545054196804
---

 libavcodec/snowenc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/snowenc.c b/libavcodec/snowenc.c
index 6291bb6..5067a36 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;



More information about the ffmpeg-cvslog mailing list