summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
Diffstat (limited to 'media')
-rw-r--r--media/tools/mfplayer/mf_playback_main.cc4
-rw-r--r--media/tools/mfplayer/mfplayer.cc2
2 files changed, 4 insertions, 2 deletions
diff --git a/media/tools/mfplayer/mf_playback_main.cc b/media/tools/mfplayer/mf_playback_main.cc
index 3ae8164..3ce897c 100644
--- a/media/tools/mfplayer/mf_playback_main.cc
+++ b/media/tools/mfplayer/mf_playback_main.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -6,7 +6,9 @@
#include "media/tools/mfplayer/mfplayer.h"
#include <mfapi.h>
+#define STRSAFE_NO_DEPRECATE
#include <strsafe.h>
+
#include <cassert>
namespace mfplayer {
diff --git a/media/tools/mfplayer/mfplayer.cc b/media/tools/mfplayer/mfplayer.cc
index 79894ee..7ef51e1 100644
--- a/media/tools/mfplayer/mfplayer.cc
+++ b/media/tools/mfplayer/mfplayer.cc
@@ -7,9 +7,9 @@
#include <mfapi.h>
#include <mferror.h>
#include <shlwapi.h>
-#include <strsafe.h>
#include <cassert>
+#include <cstdio>
template <class T>
static void SafeRelease(T** pptr) {