diff options
author | jperkin <jperkin> | 2013-05-17 21:50:34 +0000 |
---|---|---|
committer | jperkin <jperkin> | 2013-05-17 21:50:34 +0000 |
commit | a600e5a17698a715d61a101c4330a76a6b2223fc (patch) | |
tree | b08431e282c14475b13da6788c1383de05f803f7 /multimedia | |
parent | deff6375a44ee0a3ceb224d548da9e42b2b39968 (diff) | |
download | pkgsrc-a600e5a17698a715d61a101c4330a76a6b2223fc.tar.gz |
Avoid -Werror=return-type failure.
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/ffmpeg010/distinfo | 3 | ||||
-rw-r--r-- | multimedia/ffmpeg010/patches/patch-libavformat_nutdec.c | 15 |
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){ |