[Pkg-voip-commits] [janus] 223/282: Fixes #1094

Jonas Smedegaard dr at jones.dk
Wed Dec 20 21:53:43 UTC 2017


This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag debian/0.2.6-1
in repository janus.

commit 5f0e28c96880348757846261efd1255306c89bae
Author: Alex <alex at meetecho.com>
Date:   Thu Nov 30 11:45:45 2017 +0100

    Fixes #1094
---
 postprocessing/pp-h264.c | 4 ++++
 postprocessing/pp-webm.c | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/postprocessing/pp-h264.c b/postprocessing/pp-h264.c
index 4f04df1..f7dbdc2 100644
--- a/postprocessing/pp-h264.c
+++ b/postprocessing/pp-h264.c
@@ -35,6 +35,10 @@
 #define PIX_FMT_YUV420P AV_PIX_FMT_YUV420P
 #endif
 
+#if LIBAVCODEC_VER_AT_LEAST(56, 56)
+#define CODEC_FLAG_GLOBAL_HEADER AV_CODEC_FLAG_GLOBAL_HEADER
+#define FF_INPUT_BUFFER_PADDING_SIZE AV_INPUT_BUFFER_PADDING_SIZE
+#endif
 
 /* MP4 output */
 static AVFormatContext *fctx;
diff --git a/postprocessing/pp-webm.c b/postprocessing/pp-webm.c
index 9e13a28..a5de517 100644
--- a/postprocessing/pp-webm.c
+++ b/postprocessing/pp-webm.c
@@ -44,6 +44,10 @@
 #define PIX_FMT_YUV420P AV_PIX_FMT_YUV420P
 #endif
 
+#if LIBAVCODEC_VER_AT_LEAST(56, 56)
+#define CODEC_FLAG_GLOBAL_HEADER AV_CODEC_FLAG_GLOBAL_HEADER
+#define FF_INPUT_BUFFER_PADDING_SIZE AV_INPUT_BUFFER_PADDING_SIZE
+#endif
 
 /* WebM output */
 static AVFormatContext *fctx;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/janus.git



More information about the Pkg-voip-commits mailing list