mozilla-libavcodec58_91.patch
author Wolfgang Rosenauer <wr@rosenauer.org>
Sat, 08 Jan 2022 10:41:19 +0100
branchfirefox95
changeset 1169 7481543bab31
parent 1157 57fc0524b50c
permissions -rw-r--r--
Firefox 95.0.2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1157
57fc0524b50c Firefox 88.0.1
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 1138
diff changeset
     1
# HG changeset patch
57fc0524b50c Firefox 88.0.1
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 1138
diff changeset
     2
# Parent  e4abeadbbb7a0c63c17177f1d14ea04c77c6128e
57fc0524b50c Firefox 88.0.1
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 1138
diff changeset
     3
57fc0524b50c Firefox 88.0.1
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 1138
diff changeset
     4
diff --git a/dom/media/platforms/ffmpeg/FFmpegRuntimeLinker.cpp b/dom/media/platforms/ffmpeg/FFmpegRuntimeLinker.cpp
57fc0524b50c Firefox 88.0.1
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 1138
diff changeset
     5
--- a/dom/media/platforms/ffmpeg/FFmpegRuntimeLinker.cpp
57fc0524b50c Firefox 88.0.1
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 1138
diff changeset
     6
+++ b/dom/media/platforms/ffmpeg/FFmpegRuntimeLinker.cpp
57fc0524b50c Firefox 88.0.1
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 1138
diff changeset
     7
@@ -22,23 +22,27 @@ class FFmpegDecoderModule {
57fc0524b50c Firefox 88.0.1
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 1138
diff changeset
     8
   static already_AddRefed<PlatformDecoderModule> Create(FFmpegLibWrapper*);
57fc0524b50c Firefox 88.0.1
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 1138
diff changeset
     9
 };
57fc0524b50c Firefox 88.0.1
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 1138
diff changeset
    10
 
57fc0524b50c Firefox 88.0.1
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 1138
diff changeset
    11
 static FFmpegLibWrapper sLibAV;
57fc0524b50c Firefox 88.0.1
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 1138
diff changeset
    12
 
1138
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    13
 static const char* sLibs[] = {
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    14
 // clang-format off
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    15
 #if defined(XP_DARWIN)
1157
57fc0524b50c Firefox 88.0.1
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 1138
diff changeset
    16
+  "libavcodec.58.134.dylib",
1138
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    17
+  "libavcodec.58.91.dylib",
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    18
   "libavcodec.58.dylib",
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    19
   "libavcodec.57.dylib",
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    20
   "libavcodec.56.dylib",
1157
57fc0524b50c Firefox 88.0.1
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 1138
diff changeset
    21
   "libavcodec.55.dylib",
1138
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    22
   "libavcodec.54.dylib",
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    23
   "libavcodec.53.dylib",
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    24
 #else
1157
57fc0524b50c Firefox 88.0.1
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 1138
diff changeset
    25
+  "libavcodec.so.58.134",
1138
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    26
+  "libavcodec.so.58.91",
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    27
   "libavcodec.so.58",
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    28
   "libavcodec-ffmpeg.so.58",
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    29
   "libavcodec-ffmpeg.so.57",
1157
57fc0524b50c Firefox 88.0.1
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 1138
diff changeset
    30
   "libavcodec-ffmpeg.so.56",
57fc0524b50c Firefox 88.0.1
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 1138
diff changeset
    31
   "libavcodec.so.57",
57fc0524b50c Firefox 88.0.1
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 1138
diff changeset
    32
   "libavcodec.so.56",
57fc0524b50c Firefox 88.0.1
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 1138
diff changeset
    33
   "libavcodec.so.55",
57fc0524b50c Firefox 88.0.1
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 1138
diff changeset
    34
   "libavcodec.so.54",