From owner-svn-ports-head@freebsd.org Sat Nov 19 16:57:03 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E958FC4A4DC; Sat, 19 Nov 2016 16:57:03 +0000 (UTC) (envelope-from riggs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B8BD31ABD; Sat, 19 Nov 2016 16:57:03 +0000 (UTC) (envelope-from riggs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uAJGv2OA059381; Sat, 19 Nov 2016 16:57:02 GMT (envelope-from riggs@FreeBSD.org) Received: (from riggs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uAJGv2du059380; Sat, 19 Nov 2016 16:57:02 GMT (envelope-from riggs@FreeBSD.org) Message-Id: <201611191657.uAJGv2du059380@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: riggs set sender to riggs@FreeBSD.org using -f From: Thomas Zander Date: Sat, 19 Nov 2016 16:57:02 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r426388 - head/devel/libdlna/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Nov 2016 16:57:04 -0000 Author: riggs Date: Sat Nov 19 16:57:02 2016 New Revision: 426388 URL: https://svnweb.freebsd.org/changeset/ports/426388 Log: Fix build with ffmpeg 3.x PR: 214187 Submitted by: riggs Reported by: jbeich Approved by: maintainer timeout Added: head/devel/libdlna/files/patch-src_image__jpeg.c (contents, props changed) Added: head/devel/libdlna/files/patch-src_image__jpeg.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libdlna/files/patch-src_image__jpeg.c Sat Nov 19 16:57:02 2016 (r426388) @@ -0,0 +1,17 @@ +--- src/image_jpeg.c.orig 2007-11-26 20:47:43 UTC ++++ src/image_jpeg.c +@@ -92,10 +92,10 @@ probe_jpeg (AVFormatContext *ctx, + return NULL; + + /* check for JPEG compliant codec */ +- if (codecs->vc->codec_id != CODEC_ID_MJPEG && +- codecs->vc->codec_id != CODEC_ID_MJPEGB && +- codecs->vc->codec_id != CODEC_ID_LJPEG && +- codecs->vc->codec_id != CODEC_ID_JPEGLS) ++ if (codecs->vc->codec_id != AV_CODEC_ID_MJPEG && ++ codecs->vc->codec_id != AV_CODEC_ID_MJPEGB && ++ codecs->vc->codec_id != AV_CODEC_ID_LJPEG && ++ codecs->vc->codec_id != AV_CODEC_ID_JPEGLS) + return NULL; + + for (i = 0; jpeg_profiles_mapping[i].profile; i++)