10l (wrong coded_picture)

Originally committed as revision 3441 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 21 years ago
parent 56d8bd5659
commit 7b37a6e984
  1. 1
      libavcodec/mpegvideo.c

@ -1542,6 +1542,7 @@ void MPV_frame_end(MpegEncContext *s)
memset(&s->next_picture, 0, sizeof(Picture));
memset(&s->current_picture, 0, sizeof(Picture));
#endif
s->avctx->coded_frame= (AVFrame*)s->current_picture_ptr;
}
/**

Loading…
Cancel
Save