summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-05-06 01:03:58 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-05-06 01:03:58 +0200
commit2baf1c8c6080ba03dd399be895a9545054196804 (patch)
tree3bf93f84f701066019d5fa22acc90c536ecaec0c /libavcodec
parent5fc4c00972399b41a0c7e0abbe60bded40e3b8a0 (diff)
avcodec/snowenc: Fix "incompatible pointer type" warning
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/snowenc.c2
1 files changed, 1 insertions, 1 deletions
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;