Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(896)

Unified Diff: source/patched-ffmpeg-mt/libavcodec/x86/mpegaudiodec_mmx.c

Issue 3384002: ffmpeg source update for sep 09 (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/ffmpeg/
Patch Set: Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: source/patched-ffmpeg-mt/libavcodec/x86/mpegaudiodec_mmx.c
===================================================================
--- source/patched-ffmpeg-mt/libavcodec/x86/mpegaudiodec_mmx.c (revision 59334)
+++ source/patched-ffmpeg-mt/libavcodec/x86/mpegaudiodec_mmx.c (working copy)
@@ -19,6 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include "libavutil/cpu.h"
#include "libavutil/x86_cpu.h"
#define CONFIG_FLOAT 1
@@ -149,9 +150,9 @@
void ff_mpegaudiodec_init_mmx(MPADecodeContext *s)
{
- mm_flags = mm_support();
+ int mm_flags = av_get_cpu_flags();
- if (mm_flags & FF_MM_SSE2) {
+ if (mm_flags & AV_CPU_FLAG_SSE2) {
s->apply_window_mp3 = apply_window_mp3;
}
}
« no previous file with comments | « source/patched-ffmpeg-mt/libavcodec/x86/motion_est_mmx.c ('k') | source/patched-ffmpeg-mt/libavcodec/x86/mpegvideo_mmx.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698