changeset 8716:6056e34b9504 libavcodec

remove some warnings due to avctx->execute
author bcoudurier
date Sat, 31 Jan 2009 22:49:58 +0000
parents 275e2256bb11
children 407a1a178cad
files dv.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/dv.c	Sat Jan 31 22:30:49 2009 +0000
+++ b/dv.c	Sat Jan 31 22:49:58 2009 +0000
@@ -507,9 +507,10 @@
 }
 
 /* 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 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;