summaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
authorxhwang <xhwang@chromium.org>2016-03-24 10:39:25 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-24 17:40:23 +0000
commit2476ed2fc01e9d8a9603e8b3bb7e7bd311e26afa (patch)
treea711e21c8a4c2b6ecfdf1fc16aa25d95f8b6031c /components
parent3d32e52ab6edfa8f7884dd5f6e755f312fce7077 (diff)
downloadchromium_src-2476ed2fc01e9d8a9603e8b3bb7e7bd311e26afa.zip
chromium_src-2476ed2fc01e9d8a9603e8b3bb7e7bd311e26afa.tar.gz
chromium_src-2476ed2fc01e9d8a9603e8b3bb7e7bd311e26afa.tar.bz2
media: Fix typo in USE_PROPRIETARY_CODECS check.
This is a good example why BUILDFLAG would be better. See issue 596252 for the bug to track using BUILDFLAG in media. BUG=596252 TEST=Initdata parsing works now. Review URL: https://codereview.chromium.org/1828153002 Cr-Commit-Position: refs/heads/master@{#383089}
Diffstat (limited to 'components')
-rw-r--r--components/cdm/browser/widevine_drm_delegate_android.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/cdm/browser/widevine_drm_delegate_android.cc b/components/cdm/browser/widevine_drm_delegate_android.cc
index d4133ee..d2e7f67 100644
--- a/components/cdm/browser/widevine_drm_delegate_android.cc
+++ b/components/cdm/browser/widevine_drm_delegate_android.cc
@@ -36,7 +36,7 @@ bool WidevineDrmDelegateAndroid::OnCreateSession(
if (init_data_type != media::EmeInitDataType::CENC)
return true;
-#if defined(PROPRIETARY_CODECS)
+#if defined(USE_PROPRIETARY_CODECS)
// Widevine MediaDrm plugin only accepts the "data" part of the PSSH box as
// the init data when using MP4 container.
return media::GetPsshData(init_data, GetUUID(), init_data_out);