summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2013-05-17 21:50:34 +0000
committerjperkin <jperkin@pkgsrc.org>2013-05-17 21:50:34 +0000
commit5deb8bd574d1abf34cb4516ecacdef94676a17cf (patch)
treeb08431e282c14475b13da6788c1383de05f803f7 /multimedia
parenta20e510d9abd2069ae3245fce846f60677087761 (diff)
downloadpkgsrc-5deb8bd574d1abf34cb4516ecacdef94676a17cf.tar.gz
Avoid -Werror=return-type failure.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/ffmpeg010/distinfo3
-rw-r--r--multimedia/ffmpeg010/patches/patch-libavformat_nutdec.c15
2 files changed, 17 insertions, 1 deletions
diff --git a/multimedia/ffmpeg010/distinfo b/multimedia/ffmpeg010/distinfo
index fe28a855885..a09ec03a591 100644
--- a/multimedia/ffmpeg010/distinfo
+++ b/multimedia/ffmpeg010/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2013/04/11 11:26:23 drochner Exp $
+$NetBSD: distinfo,v 1.8 2013/05/17 21:50:34 jperkin Exp $
SHA1 (ffmpeg-0.10.7.tar.bz2) = 48e49998a665055b586bc8468b64b9aa6342e90e
RMD160 (ffmpeg-0.10.7.tar.bz2) = d404ac7028c8e658088bdcdd9391ed0908e80997
@@ -8,3 +8,4 @@ SHA1 (patch-ac) = 14b39a2663be41395be0faae8270e18e2ba0891f
SHA1 (patch-ap) = b67db14f412bbca036b5e6573df68b64ac5dabc2
SHA1 (patch-configure) = edc359ba50cdc90ad3ce7529f72e07970b679303
SHA1 (patch-doc_Makefile) = d74bcf7139e298ed1ce9b6efc32b00b45eea7f24
+SHA1 (patch-libavformat_nutdec.c) = eb16a4d2757bfc13a745cc62fab7711897bdeb30
diff --git a/multimedia/ffmpeg010/patches/patch-libavformat_nutdec.c b/multimedia/ffmpeg010/patches/patch-libavformat_nutdec.c
new file mode 100644
index 00000000000..db94ca75582
--- /dev/null
+++ b/multimedia/ffmpeg010/patches/patch-libavformat_nutdec.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-libavformat_nutdec.c,v 1.1 2013/05/17 21:50:34 jperkin Exp $
+
+Avoid -Werror=return-type failure.
+
+--- libavformat/nutdec.c.orig 2013-04-10 01:52:17.000000000 +0000
++++ libavformat/nutdec.c
+@@ -849,7 +849,7 @@ av_log(s, AV_LOG_DEBUG, "read_timestamp(
+ if (stream_index == -1) return pts;
+ else if(stream_index == -2) return back_ptr;
+
+-assert(0);
++ return AV_NOPTS_VALUE;
+ }
+
+ static int read_seek(AVFormatContext *s, int stream_index, int64_t pts, int flags){