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:
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
Block a user