summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-engines/renpy/files/renpy-6.14.1-remove-AVFormatParameters.patch')
-rw-r--r--games-engines/renpy/files/renpy-6.14.1-remove-AVFormatParameters.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/games-engines/renpy/files/renpy-6.14.1-remove-AVFormatParameters.patch b/games-engines/renpy/files/renpy-6.14.1-remove-AVFormatParameters.patch
new file mode 100644
index 000000000000..e66106c91fcd
--- /dev/null
+++ b/games-engines/renpy/files/renpy-6.14.1-remove-AVFormatParameters.patch
@@ -0,0 +1,19 @@
+--- module/ffdecode.c
++++ module/ffdecode.c
+@@ -1152,7 +1152,6 @@
+ AVFormatContext *ic;
+ int err, i, ret, video_index, audio_index;
+ AVPacket pkt1, *pkt = &pkt1;
+- AVFormatParameters params, *ap = &params;
+ int codecs_locked = 0;
+
+ // url_set_interrupt_cb(decode_interrupt_cb);
+@@ -1162,8 +1161,6 @@
+ is->video_stream = -1;
+ is->audio_stream = -1;
+
+- memset(ap, 0, sizeof(*ap));
+-
+ is->io_context = rwops_open(is->rwops);
+
+ codecs_locked = 1;