diff options
author | Arpi <arpi@thot.banki.hu> | 2002-10-07 23:08:42 +0000 |
---|---|---|
committer | Arpi <arpi@thot.banki.hu> | 2002-10-07 23:08:42 +0000 |
commit | 9e398782529fbb244c5321dcafcd8a37df9dc9c5 (patch) | |
tree | 3f2ecb3445d4c8dd9640fa74c3312027733cd213 | |
parent | e9feea594a2c555836f14039f745c821b24c299b (diff) | |
download | ffmpeg-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
-rw-r--r-- | libavcodec/dv.c | 3 |
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; } |