summaryrefslogtreecommitdiffstats
path: root/media/tools
diff options
context:
space:
mode:
authorfbarchard@chromium.org <fbarchard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-22 00:14:02 +0000
committerfbarchard@chromium.org <fbarchard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-22 00:14:02 +0000
commit684f665ff630ccae011fb279276b194ef95c631e (patch)
treeca609197ac66dcc912a30898df6695b2dd2036d7 /media/tools
parent27f41125a1978d29304e7582759a2857a0130a21 (diff)
downloadchromium_src-684f665ff630ccae011fb279276b194ef95c631e.zip
chromium_src-684f665ff630ccae011fb279276b194ef95c631e.tar.gz
chromium_src-684f665ff630ccae011fb279276b194ef95c631e.tar.bz2
ffmpeg update with vp3 patches.
switch to av_register_protocol2 video-played-collapse layout test fails and will be fixed later. BUG=48037 TEST=ffmpeg should still build/run Review URL: http://codereview.chromium.org/3010016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53281 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/tools')
-rw-r--r--media/tools/media_bench/media_bench.cc2
-rw-r--r--media/tools/omx_test/omx_test.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/media/tools/media_bench/media_bench.cc b/media/tools/media_bench/media_bench.cc
index cdc2560..939e35f 100644
--- a/media/tools/media_bench/media_bench.cc
+++ b/media/tools/media_bench/media_bench.cc
@@ -223,7 +223,7 @@ int main(int argc, const char** argv) {
avcodec_init();
av_log_set_level(verbose_level);
av_register_all();
- av_register_protocol(&kFFmpegFileProtocol);
+ av_register_protocol2(&kFFmpegFileProtocol, sizeof(kFFmpegFileProtocol));
AVFormatContext* format_context = NULL;
// av_open_input_file wants a char*, which can't work with wide paths.
// So we assume ASCII on Windows. On other platforms we can pass the
diff --git a/media/tools/omx_test/omx_test.cc b/media/tools/omx_test/omx_test.cc
index 5203eb0..ac885b2 100644
--- a/media/tools/omx_test/omx_test.cc
+++ b/media/tools/omx_test/omx_test.cc
@@ -273,7 +273,7 @@ static bool InitFFmpeg() {
return false;
avcodec_init();
av_register_all();
- av_register_protocol(&kFFmpegFileProtocol);
+ av_register_protocol2(&kFFmpegFileProtocol, sizeof(kFFmpegFileProtocol));
return true;
}