Commit 9e398782 authored by Arpi's avatar Arpi
Browse files

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