summaryrefslogtreecommitdiffstats
path: root/media/base/djb2.h
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-29 06:53:57 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-29 06:53:57 +0000
commit3e21bd00219f2dd475f36cad70c7e8e5a6c90a4e (patch)
treea666f584af965358e59dbb99d51f4e1ede810f61 /media/base/djb2.h
parent80afbdbf6432bae199da3ef53dc02de7160585cc (diff)
downloadchromium_src-3e21bd00219f2dd475f36cad70c7e8e5a6c90a4e.zip
chromium_src-3e21bd00219f2dd475f36cad70c7e8e5a6c90a4e.tar.gz
chromium_src-3e21bd00219f2dd475f36cad70c7e8e5a6c90a4e.tar.bz2
Create media.dll / libmedia.so.
This is a re-attempt at landing http://codereview.chromium.org/7572040, now with a DEPS roll to pick up the changes made to ffmpeg by http://codereview.chromium.org/7778004/ so that media_unittests run properly on Linux. TBR=fischman Review URL: http://codereview.chromium.org/7775004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98600 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/base/djb2.h')
-rw-r--r--media/base/djb2.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/media/base/djb2.h b/media/base/djb2.h
index 2b696fa..598f9d1 100644
--- a/media/base/djb2.h
+++ b/media/base/djb2.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 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,6 +6,7 @@
#define MEDIA_BASE_DJB2_H_
#include "base/basictypes.h"
+#include "media/base/media_export.h"
// DJB2 is a hash algorithm with excellent distribution and speed
// on many different sets.
@@ -34,7 +35,7 @@ static const uint32 kDJB2HashSeed = 5381u;
// For the given buffer of data, compute the DJB2 hash of
// the data. You can call this any number of times during the computation.
-uint32 DJB2Hash(const void* buf, size_t len, uint32 seed);
+MEDIA_EXPORT uint32 DJB2Hash(const void* buf, size_t len, uint32 seed);
#endif // MEDIA_BASE_DJB2_H_