LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File chromium-7.0.510.0-system-ffmpeg.patch of Package chromium-square (Project home:difrex:chromium-square)

diff -up chromium-7.0.510.0/media/filters/ffmpeg_glue.cc.system-ffmpeg chromium-7.0.510.0/media/filters/ffmpeg_glue.cc
--- chromium-7.0.510.0/src/media/filters/ffmpeg_glue.cc.system-ffmpeg	2010-08-31 04:22:39.000000000 -0400
+++ chromium-7.0.510.0/src/media/filters/ffmpeg_glue.cc	2010-09-01 10:50:30.259172512 -0400
@@ -119,14 +119,14 @@ namespace media {
 static const char kProtocol[] = "http";
 
 // Fill out our FFmpeg protocol definition.
-static URLProtocol kFFmpegURLProtocol = {
-  kProtocol,
-  &OpenContext,
-  &ReadContext,
-  &WriteContext,
-  &SeekContext,
-  &CloseContext,
-};
+// static URLProtocol kFFmpegURLProtocol = {
+//  kProtocol,
+//  &OpenContext,
+//  &ReadContext,
+//  &WriteContext,
+//  &SeekContext,
+//  &CloseContext,
+//};
 
 FFmpegGlue::FFmpegGlue() {
   // Before doing anything disable logging as it interferes with layout tests.
@@ -134,7 +134,7 @@ FFmpegGlue::FFmpegGlue() {
 
   // Register our protocol glue code with FFmpeg.
   avcodec_init();
-  av_register_protocol2(&kFFmpegURLProtocol, sizeof(kFFmpegURLProtocol));
+  // av_register_protocol2(&kFFmpegURLProtocol, sizeof(kFFmpegURLProtocol));
   av_lockmgr_register(&LockManagerOperation);
 
   // Now register the rest of FFmpeg.