/*
- *
* This file is part of Libav.
*
* Libav is free software; you can redistribute it and/or
AVFrame *f;
ThreadFrame *tf;
- // it's the caller responsability to allocate these buffers
+ // it is the caller's responsibility to allocate these buffers
int16_t (*motion_val[2])[2];
int8_t *ref_index[2];
typedef struct ERContext {
AVCodecContext *avctx;
- MECmpContext *mecc;
+ MECmpContext mecc;
+ int mecc_inited;
int *mb_index2xy;
int mb_num;
int mb_width, mb_height;
- int mb_stride;
- int b8_stride;
+ ptrdiff_t mb_stride;
+ ptrdiff_t b8_stride;
int error_count, error_occurred;
uint8_t *error_status_table;