| Index: media/tools/mfplayer/mfplayer.cc
|
| diff --git a/media/tools/mfplayer/mfplayer.cc b/media/tools/mfplayer/mfplayer.cc
|
| index fbeb32f86dc6797fdfb05bc2a079c7084541d196..79894ee06c34aedccba32565b927bd32002d2a72 100644
|
| --- a/media/tools/mfplayer/mfplayer.cc
|
| +++ b/media/tools/mfplayer/mfplayer.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.
|
|
|
| @@ -11,17 +11,16 @@
|
|
|
| #include <cassert>
|
|
|
| -namespace {
|
| -
|
| template <class T>
|
| -void SafeRelease(T** pptr) {
|
| +static void SafeRelease(T** pptr) {
|
| if (pptr && *pptr) {
|
| (*pptr)->Release();
|
| *pptr = NULL;
|
| }
|
| }
|
|
|
| -HRESULT ProbeTopology(IMFMediaEvent* event, IMFTopology** topology_ptr) {
|
| +static HRESULT ProbeTopology(IMFMediaEvent* event,
|
| + IMFTopology** topology_ptr) {
|
| HRESULT hr = S_OK;
|
| PROPVARIANT var;
|
| PropVariantInit(&var);
|
| @@ -36,8 +35,6 @@ HRESULT ProbeTopology(IMFMediaEvent* event, IMFTopology** topology_ptr) {
|
| return hr;
|
| }
|
|
|
| -} // namespace
|
| -
|
| namespace mfplayer {
|
|
|
| // Public methods
|
|
|