aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dv.c
diff options
context:
space:
mode:
authorArpi <arpi@thot.banki.hu>2002-10-07 23:08:42 +0000
committerArpi <arpi@thot.banki.hu>2002-10-07 23:08:42 +0000
commit9e398782529fbb244c5321dcafcd8a37df9dc9c5 (patch)
tree3f2ecb3445d4c8dd9640fa74c3312027733cd213 /libavcodec/dv.c
parente9feea594a2c555836f14039f745c821b24c299b (diff)
downloadffmpeg-9e398782529fbb244c5321dcafcd8a37df9dc9c5.tar.gz
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
Diffstat (limited to 'libavcodec/dv.c')
-rw-r--r--libavcodec/dv.c3
1 files changed, 3 insertions, 0 deletions
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;
}