1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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

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;