mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/snowenc: Fix "incompatible pointer type" warning
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
5fc4c00972
commit
2baf1c8c60
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue