summaryrefslogtreecommitdiff
path: root/academic/grass/grass-6.4.2-libav-9.patch
diff options
context:
space:
mode:
Diffstat (limited to 'academic/grass/grass-6.4.2-libav-9.patch')
-rw-r--r--academic/grass/grass-6.4.2-libav-9.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/academic/grass/grass-6.4.2-libav-9.patch b/academic/grass/grass-6.4.2-libav-9.patch
new file mode 100644
index 0000000000..7fbe3254f4
--- /dev/null
+++ b/academic/grass/grass-6.4.2-libav-9.patch
@@ -0,0 +1,11 @@
+--- grass-6.4.2.orig/lib/ogsf/gsd_img_mpeg.c 2013-01-18 02:11:37.570025278 +0100
++++ grass-6.4.2/lib/ogsf/gsd_img_mpeg.c 2013-01-18 02:13:01.663022218 +0100
+@@ -159,7 +159,7 @@
+ }
+
+ /* open the codec */
+- if (avcodec_open(c, codec) < 0) {
++ if (avcodec_open2(c, codec, NULL) < 0) {
+ G_warning(_("Unable to open codec"));
+ return;
+ }