Commit 86a7e115 authored by Roman Shaposhnik's avatar Roman Shaposhnik

* recommiting change from SF CVS

Originally committed as revision 2350 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent b3a5d003
...@@ -845,6 +845,8 @@ static int dvvideo_decode_frame(AVCodecContext *avctx, ...@@ -845,6 +845,8 @@ static int dvvideo_decode_frame(AVCodecContext *avctx,
s->picture.reference = 0; s->picture.reference = 0;
avctx->pix_fmt = s->sys->pix_fmt; 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) { if(avctx->get_buffer(avctx, &s->picture) < 0) {
fprintf(stderr, "get_buffer() failed\n"); fprintf(stderr, "get_buffer() failed\n");
return -1; return -1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment