aboutsummaryrefslogtreecommitdiff
path: root/www/nginx-devel/files
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2019-12-17 15:03:03 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2019-12-17 15:03:03 +0000
commitd3a1686dd4278649136df620c08597e539eae034 (patch)
tree004f18b08c97b0a54e329e0b1f0c48821660b18e /www/nginx-devel/files
parent7fee23336210ffecf432776972fa264636b0243d (diff)
downloadports-d3a1686dd4278649136df620c08597e539eae034.tar.gz
ports-d3a1686dd4278649136df620c08597e539eae034.zip
Notes
Diffstat (limited to 'www/nginx-devel/files')
-rw-r--r--www/nginx-devel/files/extra-patch-nginx-vod-module-config4
-rw-r--r--www/nginx-devel/files/extra-patch-vod-filters-audio_encoder.c20
2 files changed, 2 insertions, 22 deletions
diff --git a/www/nginx-devel/files/extra-patch-nginx-vod-module-config b/www/nginx-devel/files/extra-patch-nginx-vod-module-config
index de3a85fccc57..94c1f73eaf97 100644
--- a/www/nginx-devel/files/extra-patch-nginx-vod-module-config
+++ b/www/nginx-devel/files/extra-patch-nginx-vod-module-config
@@ -1,5 +1,5 @@
---- ../nginx-vod-module-1.23/config.orig 2018-04-24 17:51:34.654430000 -0400
-+++ ../nginx-vod-module-1.23/config 2018-04-24 18:10:13.517041000 -0400
+--- ../nginx-vod-module-1.25/config.orig 2018-04-24 17:51:34.654430000 -0400
++++ ../nginx-vod-module-1.25/config 2018-04-24 18:10:13.517041000 -0400
@@ -154,8 +154,12 @@
ngx_feature_run=no
ngx_feature_incs="#include <libxml/parser.h>
diff --git a/www/nginx-devel/files/extra-patch-vod-filters-audio_encoder.c b/www/nginx-devel/files/extra-patch-vod-filters-audio_encoder.c
deleted file mode 100644
index 0bbe7e427ed5..000000000000
--- a/www/nginx-devel/files/extra-patch-vod-filters-audio_encoder.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- ../nginx-vod-module-1.23/vod/filters/audio_encoder.c.orig 2018-05-13 10:05:51.704192000 -0400
-+++ ../nginx-vod-module-1.23/vod/filters/audio_encoder.c 2018-05-13 10:08:30.590029000 -0400
-@@ -100,7 +100,7 @@
- encoder->channel_layout = params->channel_layout;
- encoder->channels = params->channels;
- encoder->bit_rate = params->bitrate;
-- encoder->flags |= CODEC_FLAG_GLOBAL_HEADER; // make the codec generate the extra data
-+ encoder->flags |= AV_CODEC_FLAG_GLOBAL_HEADER; // make the codec generate the extra data
-
- avrc = avcodec_open2(encoder, encoder_codec, NULL);
- if (avrc < 0)
-@@ -139,7 +139,7 @@
- {
- audio_encoder_state_t* state = context;
-
-- if ((state->encoder->codec->capabilities & CODEC_CAP_VARIABLE_FRAME_SIZE) != 0)
-+ if ((state->encoder->codec->capabilities & AV_CODEC_CAP_VARIABLE_FRAME_SIZE) != 0)
- {
- return 0;
- }