10l - MMX/FPU state was not restored, causing nonsense fpu behaviour in caller (mplayer)

Originally committed as revision 1011 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Arpi 2002-10-07 23:08:42 +00:00
parent e9feea594a
commit 9e39878252

View File

@ -564,6 +564,8 @@ static int dvvideo_decode_frame(AVCodecContext *avctx,
}
}
emms_c();
/* return image */
avctx->width = width;
avctx->height = height;
@ -581,6 +583,7 @@ static int dvvideo_decode_frame(AVCodecContext *avctx,
picture->data[i] = s->current_picture[i];
picture->linesize[i] = s->linesize[i];
}
return buf_size;
}