X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fsnow.h;h=6a3e763a4a4aad5ab4819564c519b50b3484cc57;hb=5672107ed6961a88fc550885e4c8703597eb345b;hp=0f75419b360dbf5a622c72a79ffbeab9c10b3d97;hpb=4d13d440ee75321523be88fff1f38f3a154c53b5;p=ffmpeg diff --git a/libavcodec/snow.h b/libavcodec/snow.h index 0f75419b360..6a3e763a4a4 100644 --- a/libavcodec/snow.h +++ b/libavcodec/snow.h @@ -117,7 +117,7 @@ typedef struct SnowContext{ H264QpelContext h264qpel; MpegvideoEncDSPContext mpvencdsp; SnowDWTContext dwt; - AVFrame *new_picture; + const AVFrame *new_picture; AVFrame *input_picture; ///< new_picture with the internal linesizes AVFrame *current_picture; AVFrame *last_picture[MAX_REF_FRAMES]; @@ -231,7 +231,7 @@ void ff_snow_reset_contexts(SnowContext *s); int ff_snow_alloc_blocks(SnowContext *s); int ff_snow_frame_start(SnowContext *s); void ff_snow_pred_block(SnowContext *s, uint8_t *dst, uint8_t *tmp, ptrdiff_t stride, - int sx, int sy, int b_w, int b_h, BlockNode *block, + int sx, int sy, int b_w, int b_h, const BlockNode *block, int plane_index, int w, int h); int ff_snow_get_buffer(SnowContext *s, AVFrame *frame); /* common inline functions */