Skip to content
Snippets Groups Projects
Commit 86a7e115 authored by Roman Shaposhnik's avatar Roman Shaposhnik
Browse files

* recommiting change from SF CVS

Originally committed as revision 2350 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent b3a5d003
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment