From 9e398782529fbb244c5321dcafcd8a37df9dc9c5 Mon Sep 17 00:00:00 2001 From: Arpi Date: Mon, 7 Oct 2002 23:08:42 +0000 Subject: [PATCH] 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 --- libavcodec/dv.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/dv.c b/libavcodec/dv.c index 1834740c3a..f2a241cf40 100644 --- a/libavcodec/dv.c +++ b/libavcodec/dv.c @@ -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; }