r16909 - trunk/libavcodec/dv.c
Author: bcoudurier Date: Sat Jan 31 23:49:58 2009 New Revision: 16909 Log: remove some warnings due to avctx->execute Modified: trunk/libavcodec/dv.c Modified: trunk/libavcodec/dv.c ============================================================================== --- trunk/libavcodec/dv.c Sat Jan 31 23:30:49 2009 (r16908) +++ trunk/libavcodec/dv.c Sat Jan 31 23:49:58 2009 (r16909) @@ -507,9 +507,10 @@ static inline void dv_calculate_mb_xy(DV } /* 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(EncBloc } } -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;
participants (1)
-
subversion@mplayerhq.hu