diff options
Diffstat (limited to 'libavcodec/dv.c')
-rw-r--r-- | libavcodec/dv.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/dv.c b/libavcodec/dv.c index 05128aee45..fe0e5ec5d2 100644 --- a/libavcodec/dv.c +++ b/libavcodec/dv.c @@ -33,7 +33,7 @@ typedef struct DVVideoDecodeContext { int sampling_411; /* 0 = 420, 1 = 411 */ int width, height; UINT8 *current_picture[3]; /* picture structure */ - AVVideoFrame picture; + AVFrame picture; int linesize[3]; DCTELEM block[5*6][64] __align8; UINT8 dv_zigzag[2][64]; @@ -595,8 +595,8 @@ static int dvvideo_decode_frame(AVCodecContext *avctx, emms_c(); /* return image */ - *data_size = sizeof(AVVideoFrame); - *(AVVideoFrame*)data= s->picture; + *data_size = sizeof(AVFrame); + *(AVFrame*)data= s->picture; avctx->release_buffer(avctx, &s->picture); |