avcodec/snowenc: Fix "incompatible pointer type" warning

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-05-06 01:03:58 +02:00
parent 5fc4c00972
commit 2baf1c8c60
1 changed files with 1 additions and 1 deletions

View 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;