* recommiting change from SF CVS

Originally committed as revision 2350 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Roman Shaposhnik 2003-10-11 01:41:41 +00:00
parent b3a5d0039c
commit 86a7e11502
1 changed files with 2 additions and 0 deletions

View File

@ -845,6 +845,8 @@ static int dvvideo_decode_frame(AVCodecContext *avctx,
s->picture.reference = 0;
avctx->pix_fmt = s->sys->pix_fmt;
avctx->width = s->sys->width;
avctx->height = s->sys->height;
if(avctx->get_buffer(avctx, &s->picture) < 0) {
fprintf(stderr, "get_buffer() failed\n");
return -1;