head 1.2; access; symbols; locks; strict; comment @// @; 1.2 date 2014.12.14.15.47.03; author wiz; state dead; branches; next 1.1; commitid 71osxgrJwmgqv12y; 1.1 date 2014.12.08.12.59.53; author wiz; state Exp; branches; next ; commitid a3HSaUfeVkC2Me1y; desc @@ 1.2 log @Update to 0.18.20: ver 0.18.20 (2014/12/08) * decoder - ffmpeg: support FFmpeg 2.5 * fix build failure with musl @ text @$NetBSD: patch-src_decoder_FfmpegDecoderPlugin.cxx,v 1.1 2014/12/08 12:59:53 wiz Exp $ fix build with ffmpeg2-2.5 http://bugs.musicpd.org/view.php?id=4235 --- src/decoder/FfmpegDecoderPlugin.cxx.orig 2014-11-18 19:52:54.000000000 +0000 +++ src/decoder/FfmpegDecoderPlugin.cxx @@@@ -397,7 +397,7 @@@@ ffmpeg_probe(Decoder *decoder, InputStre /* this attribute was added in libav/ffmpeg version 11, but unfortunately it's "uint8_t" instead of "char", and it's not "const" - wtf? */ - avpd.mime_type = (uint8_t *)const_cast(is.GetMimeType()); + avpd.mime_type = const_cast(is.GetMimeType()); #endif return av_probe_input_format(&avpd, true); @ 1.1 log @Fix build with ffmpeg2-2.5 and depend on it. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ @