diff options
author | David Spencer <baildon.research@googlemail.com> | 2013-06-05 19:45:02 -0400 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2013-06-05 19:45:02 -0400 |
commit | 9997e177ee70904810fa5018a8996bfd4cd9aaec (patch) | |
tree | 1a22d0654fe63919eecca418a23d280211426a58 /academic/grass/grass-6.4.2-libav-9.patch | |
parent | 4d63a819ae88abf224ef149b377da94caecf474b (diff) |
academic/grass: Fixed build with recent ffmpeg + other tweaks.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'academic/grass/grass-6.4.2-libav-9.patch')
-rw-r--r-- | academic/grass/grass-6.4.2-libav-9.patch | 11 |
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 0000000000000..7fbe3254f4fdc --- /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; + } |