Revision e4141433 libavcodec/zmbvenc.c

View differences:

libavcodec/zmbvenc.c
106 106

  
107 107
static int encode_frame(AVCodecContext *avctx, uint8_t *buf, int buf_size, void *data)
108 108
{
109
    ZmbvEncContext * const c = (ZmbvEncContext *)avctx->priv_data;
109
    ZmbvEncContext * const c = avctx->priv_data;
110 110
    AVFrame *pict = data;
111 111
    AVFrame * const p = &c->pic;
112 112
    uint8_t *src, *prev;
......
239 239
 */
240 240
static int encode_init(AVCodecContext *avctx)
241 241
{
242
    ZmbvEncContext * const c = (ZmbvEncContext *)avctx->priv_data;
242
    ZmbvEncContext * const c = avctx->priv_data;
243 243
    int zret; // Zlib return code
244 244
    int lvl = 9;
245 245

  
......
305 305
 */
306 306
static int encode_end(AVCodecContext *avctx)
307 307
{
308
    ZmbvEncContext * const c = (ZmbvEncContext *)avctx->priv_data;
308
    ZmbvEncContext * const c = avctx->priv_data;
309 309

  
310 310
    av_freep(&c->comp_buf);
311 311
    av_freep(&c->work_buf);

Also available in: Unified diff