[FFmpeg-devel] [PATCH 09/13] avcodec/svq1dec: clear MMX state after MB decode loop
Michael Niedermayer
michael at niedermayer.cc
Sat Oct 22 22:02:07 EEST 2016
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
---
libavcodec/svq1dec.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavcodec/svq1dec.c b/libavcodec/svq1dec.c
index 2b72e08..0fe222e 100644
--- a/libavcodec/svq1dec.c
+++ b/libavcodec/svq1dec.c
@@ -744,6 +744,7 @@ static int svq1_decode_frame(AVCodecContext *avctx, void *data,
}
}
}
+ emms_c();
if (!s->nonref) {
av_frame_unref(s->prev);
@@ -756,6 +757,7 @@ static int svq1_decode_frame(AVCodecContext *avctx, void *data,
result = buf_size;
err:
+ emms_c();
av_free(pmv);
return result;
}
--
2.10.1
More information about the ffmpeg-devel
mailing list