Browse Source

Stricter build dependencies

pull/302/head
Frederic-Philippe Metz 9 years ago
committed by Pawel Kuzak
parent
commit
a0c36c59ca
4 changed files with 14 additions and 7 deletions
  1. +6
    -6
      debian/control
  2. +1
    -1
      debian/ngcp-rtpengine-daemon.install
  3. +6
    -0
      recording-daemon/decoder.c
  4. +1
    -0
      recording-daemon/mix.c

+ 6
- 6
debian/control View File

@ -4,11 +4,11 @@ Priority: extra
Maintainer: Sipwise Development Team <support@sipwise.com>
Build-Depends: debhelper (>= 5),
iptables-dev (>= 1.4),
libavcodec-dev,
libavfilter-dev,
libavformat-dev,
libavresample-dev,
libavutil-dev,
libavcodec-dev (>= 6:10),
libavfilter-dev (>= 6:10),
libavformat-dev (>= 6:10),
libavresample-dev (>= 6:10),
libavutil-dev (>= 6:10),
libcurl4-openssl-dev | libcurl4-gnutls-dev | libcurl3-openssl-dev | libcurl3-gnutls-dev,
libevent-dev (>= 2.0),
libglib2.0-dev (>= 2.30),
@ -56,7 +56,7 @@ Replaces: ngcp-mediaproxy-ng
Description: NGCP RTP/media proxy - meta package.
This is a meta package for easy installation of all four parts of the NGCP
media proxy. It will install the user-space daemon, the kernel-space IPtables
module, the IPtables extension module and utility scripts.
module, the IPtables extension module and utility scripts.
Package: ngcp-rtpengine-kernel-source
Architecture: all


+ 1
- 1
debian/ngcp-rtpengine-daemon.install View File

@ -1,3 +1,3 @@
daemon/rtpengine /usr/sbin/
recording-daemon/rtpengine-recording /usr/sbin/
etc/rtpengine.sample.conf /etc/rtpengine/
recording-daemon/rtpengine-recording /usr/sbin/

+ 6
- 0
recording-daemon/decoder.c View File

@ -3,6 +3,7 @@
#include <libavformat/avformat.h>
#include <libavutil/audio_fifo.h>
#include <libavutil/channel_layout.h>
#include <libavutil/mathematics.h>
#include <glib.h>
#include <stdint.h>
#include <libavresample/avresample.h>
@ -378,7 +379,12 @@ void decoder_close(decoder_t *dec) {
if (!dec)
return;
/// XXX drain inputs and outputs
#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(56, 1, 0)
avcodec_free_context(&dec->avcctx);
#else
avcodec_close(dec->avcctx);
av_free(dec->avcctx);
#endif
av_frame_free(&dec->frame);
av_frame_free(&dec->swr_frame);
avresample_free(&dec->avresample);


+ 1
- 0
recording-daemon/mix.c View File

@ -4,6 +4,7 @@
#include <libavfilter/buffersrc.h>
#include <libavfilter/buffersink.h>
#include <libavutil/channel_layout.h>
#include <libavutil/mathematics.h>
#include <inttypes.h>
#include <libavresample/avresample.h>
#include <libavutil/opt.h>


Loading…
Cancel
Save