[FFmpeg-cvslog] dca: add emms_c after usage of AV_COPY128
Hendrik Leppkes
git at videolan.org
Tue Feb 2 23:30:02 CET 2016
ffmpeg | branch: master | Hendrik Leppkes <h.leppkes at gmail.com> | Tue Feb 2 23:27:30 2016 +0100| [5fc310f7ca2a5c76da8daadb38f2a4698bfb90b8] | committer: Hendrik Leppkes
dca: add emms_c after usage of AV_COPY128
Similar to AV_ZERO128, AV_COPY128 can use MMX instructions in x86
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5fc310f7ca2a5c76da8daadb38f2a4698bfb90b8
---
libavcodec/dca_core.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/libavcodec/dca_core.c b/libavcodec/dca_core.c
index 8d82be5..48a8f61 100644
--- a/libavcodec/dca_core.c
+++ b/libavcodec/dca_core.c
@@ -992,6 +992,8 @@ static int parse_frame_data(DCACoreDecoder *s, enum HeaderType header, int xch_b
}
}
+ emms_c();
+
return 0;
}
@@ -1668,6 +1670,8 @@ static int parse_x96_frame_data(DCACoreDecoder *s, int exss, int xch_base)
}
}
+ emms_c();
+
return 0;
}
More information about the ffmpeg-cvslog
mailing list