diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-01-31 22:49:58 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-01-31 22:49:58 +0000 |
commit | 7591b30499b10bd77a836737c2c7fcce1696f03d (patch) | |
tree | 1fb67b261b1bd23fd05b7c60fcae7b6db8a0b260 /libavcodec/dv.c | |
parent | a95d00b2877b9264d6958395e8e2937e02722181 (diff) | |
download | ffmpeg-7591b30499b10bd77a836737c2c7fcce1696f03d.tar.gz |
remove some warnings due to avctx->execute
Originally committed as revision 16909 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dv.c')
-rw-r--r-- | libavcodec/dv.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libavcodec/dv.c b/libavcodec/dv.c index e78c4baa98..27824004c1 100644 --- a/libavcodec/dv.c +++ b/libavcodec/dv.c @@ -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; |