Date: Sat, 19 Nov 2016 16:57:02 +0000 (UTC) From: Thomas Zander <riggs@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r426388 - head/devel/libdlna/files Message-ID: <201611191657.uAJGv2du059380@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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++)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611191657.uAJGv2du059380>