Commit b05a1013 authored by arpi_esp's avatar arpi_esp

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1011 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent d718b14e
...@@ -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