summaryrefslogtreecommitdiff
path: root/pcr/python-renpy/renpy.diff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-12-30 10:02:02 -0200
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-12-30 10:02:02 -0200
commitfc4714ea1f54e9248645e043207f17261ae12652 (patch)
tree99093031dc48f04640663dafc3e0fd403bdd6250 /pcr/python-renpy/renpy.diff
parentac5923e7171afc32d47ecf8287cd224712213f7a (diff)
python-renpy: adding new package to [pcr] repo, it is a dependency of renpy package
Diffstat (limited to 'pcr/python-renpy/renpy.diff')
-rw-r--r--pcr/python-renpy/renpy.diff20
1 files changed, 20 insertions, 0 deletions
diff --git a/pcr/python-renpy/renpy.diff b/pcr/python-renpy/renpy.diff
new file mode 100644
index 000000000..89a6b8c05
--- /dev/null
+++ b/pcr/python-renpy/renpy.diff
@@ -0,0 +1,20 @@
+diff -aur renpy-6.14.1-source.new/module/ffdecode.c renpy-6.14.1-source/module/ffdecode.c
+--- renpy-6.14.1-source.new/module/ffdecode.c 2012-08-28 16:49:27.217523406 +1100
++++ renpy-6.14.1-source/module/ffdecode.c 2012-08-26 15:28:30.000000000 +1100
+@@ -1152,6 +1152,7 @@
+ 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);
+@@ -1161,6 +1162,8 @@
+ is->video_stream = -1;
+ is->audio_stream = -1;
+
++ memset(ap, 0, sizeof(*ap));
++
+ is->io_context = rwops_open(is->rwops);
+
+ codecs_locked = 1;