summaryrefslogtreecommitdiff
path: root/multimedia/zoneminder
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2018-05-02 18:34:15 +0000
committerJan Beich <jbeich@FreeBSD.org>2018-05-02 18:34:15 +0000
commita7e80be8ca243fee8e464f48cf371f815ce228d1 (patch)
tree5d91b4857a13190feff9abb21920686c24daa384 /multimedia/zoneminder
parentmultimedia/zoneminder{,-h264}: unbreak with ffmpeg 4.0 (diff)
multimedia/zoneminder: AVFMT_RAWPICTURE is part of libavformat
Notes
Notes: svn path=/head/; revision=468863
Diffstat (limited to 'multimedia/zoneminder')
-rw-r--r--multimedia/zoneminder/files/patch-ffmpeg44
1 files changed, 2 insertions, 2 deletions
diff --git a/multimedia/zoneminder/files/patch-ffmpeg4 b/multimedia/zoneminder/files/patch-ffmpeg4
index 83e49595e080..ef3feed32fa3 100644
--- a/multimedia/zoneminder/files/patch-ffmpeg4
+++ b/multimedia/zoneminder/files/patch-ffmpeg4
@@ -30,7 +30,7 @@ Partially based on https://github.com/ZoneMinder/zoneminder/commit/e17bcb9178d0
}
video_outbuf = NULL;
-+#if !LIBAVCODEC_VERSION_CHECK(57, 0, 0, 0, 0)
++#if !LIBAVFORMAT_VERSION_CHECK(57, 0, 0, 0, 0)
if ( !(of->flags & AVFMT_RAWPICTURE) )
+#endif
{
@@ -40,7 +40,7 @@ Partially based on https://github.com/ZoneMinder/zoneminder/commit/e17bcb9178d0
AVPacket *pkt = packet_buffers[packet_index];
av_init_packet( pkt );
int got_packet = 0;
-+#if !LIBAVCODEC_VERSION_CHECK(57, 0, 0, 0, 0)
++#if !LIBAVFORMAT_VERSION_CHECK(57, 0, 0, 0, 0)
if ( of->flags & AVFMT_RAWPICTURE )
{
#if LIBAVCODEC_VERSION_CHECK(52, 30, 2, 30, 2)