Commit dedc0d53 authored by bcoudurier's avatar bcoudurier

remove some warnings due to avctx->execute

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16909 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent fb8bb811
......@@ -507,9 +507,10 @@ static inline void dv_calculate_mb_xy(DVVideoContext *s, DVwork_chunk *work_chun
}
/* mb_x and mb_y are in units of 8 pixels */
static int dv_decode_video_segment(AVCodecContext *avctx, DVwork_chunk *work_chunk)
static int dv_decode_video_segment(AVCodecContext *avctx, void *arg)
{
DVVideoContext *s = avctx->priv_data;
DVwork_chunk *work_chunk = arg;
int quant, dc, dct_mode, class1, j;
int mb_index, mb_x, mb_y, last_index;
int y_stride, linesize;
......@@ -994,9 +995,10 @@ static inline void dv_guess_qnos(EncBlockInfo* blks, int* qnos)
}
}
static int dv_encode_video_segment(AVCodecContext *avctx, DVwork_chunk *work_chunk)
static int dv_encode_video_segment(AVCodecContext *avctx, void *arg)
{
DVVideoContext *s = avctx->priv_data;
DVwork_chunk *work_chunk = arg;
int mb_index, i, j;
int mb_x, mb_y, c_offset, linesize, y_stride;
uint8_t* y_ptr;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment