forked from FFmpeg/FFmpeg
* recommiting change from SF CVS
Originally committed as revision 2350 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
b3a5d0039c
commit
86a7e11502
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue