diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2018-05-02 18:34:15 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2018-05-02 18:34:15 +0000 |
commit | a7e80be8ca243fee8e464f48cf371f815ce228d1 (patch) | |
tree | 5d91b4857a13190feff9abb21920686c24daa384 /multimedia/zoneminder | |
parent | multimedia/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-ffmpeg4 | 4 |
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) |