OSDN Git Service

10l - MMX/FPU state was not restored, causing nonsense fpu behaviour in caller (mplayer)
authorArpi <arpi@thot.banki.hu>
Mon, 7 Oct 2002 23:08:42 +0000 (23:08 +0000)
committerArpi <arpi@thot.banki.hu>
Mon, 7 Oct 2002 23:08:42 +0000 (23:08 +0000)
Originally committed as revision 1011 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/dv.c

index 1834740..f2a241c 100644 (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;
 }