Commit 425dddb7 authored by Fabrice Bellard's avatar Fabrice Bellard

fixed mpeg1 first block bug (pb with black picture optimisation for B frames)


Originally committed as revision 59 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent b9ecd1ee
......@@ -370,6 +370,7 @@ void MPV_frame_start(MpegEncContext *s)
int i;
UINT8 *tmp;
s->mb_skiped = 0;
if (s->pict_type == B_TYPE) {
for(i=0;i<3;i++) {
s->current_picture[i] = s->aux_picture[i];
......
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