summaryrefslogtreecommitdiffstats
path: root/third_party/ffmpeg
diff options
context:
space:
mode:
authorscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-29 00:25:27 +0000
committerscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-29 00:25:27 +0000
commit20fab9ec3cc2f1387247339c6eab504873b3824f (patch)
treee38482897fe4cb876c409610a26b74d5dd8d3bc8 /third_party/ffmpeg
parent8de57342e6e4c50337c553f49f39a59ff1d825d3 (diff)
downloadchromium_src-20fab9ec3cc2f1387247339c6eab504873b3824f.zip
chromium_src-20fab9ec3cc2f1387247339c6eab504873b3824f.tar.gz
chromium_src-20fab9ec3cc2f1387247339c6eab504873b3824f.tar.bz2
Clean up FFmpeg media formats and switch to using av_get_bits_per_sample_format().
Before we were relying on codecs setting bits_per_raw_sample, which turns out isn't a valid assumption at all (i.e., vorbis). However, codecs always set the sample format so we can use the FFmpeg utility function av_get_bits_per_sample_format() to convert the SampleFormat enum to an integer number of bits. Review URL: http://codereview.chromium.org/99160 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14808 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/ffmpeg')
-rw-r--r--third_party/ffmpeg/avcodec-52.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/ffmpeg/avcodec-52.def b/third_party/ffmpeg/avcodec-52.def
index 7a377304..e567dc9 100644
--- a/third_party/ffmpeg/avcodec-52.def
+++ b/third_party/ffmpeg/avcodec-52.def
@@ -1,6 +1,6 @@
LIBRARY avcodec-52
EXPORTS
- av_bitstream_filter_init
+ av_get_bits_per_sample_format
avcodec_alloc_context
avcodec_alloc_frame
avcodec_decode_audio2