~ubuntu-branches/ubuntu/wily/sflphone/wily-proposed

« back to all changes in this revision

Viewing changes to daemon/src/video/libav_deps.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2015-01-07 14:51:16 UTC
  • mfrom: (4.3.5 sid)
  • Revision ID: package-import@ubuntu.com-20150107145116-yxnafinf4lrdvrmx
Tags: 1.4.1-0.1ubuntu1
* Merge with Debian, remaining changes:
 - Drop soprano, nepomuk build-dep
* Drop ubuntu patches, now upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
#ifndef __LIBAV_DEPS_H__
32
32
#define __LIBAV_DEPS_H__
33
33
 
34
 
extern "C" {
35
 
#include <libavcodec/avcodec.h>
36
 
#include <libavformat/avformat.h>
37
 
#include <libavdevice/avdevice.h>
38
 
#include <libswscale/swscale.h>
39
 
#include <libavutil/avutil.h>
40
 
#include <libavutil/pixdesc.h>
41
 
#include <libavutil/opt.h>
42
 
#include <libavutil/mathematics.h> // for av_rescale_q (old libav support)
43
 
#include <libavutil/imgutils.h>
44
 
#include <libavutil/intreadwrite.h>
45
 
}
46
 
 
47
 
#include "libav_utils.h"
48
 
 
49
34
/* LIBAVFORMAT_VERSION_CHECK checks for the right version of libav and FFmpeg
50
35
 * a is the major version
51
36
 * b and c the minor and micro versions of libav
72
57
 
73
58
#define HAVE_SDP_CUSTOM_IO LIBAVFORMAT_VERSION_CHECK(54,20,3,59,103)
74
59
 
 
60
extern "C" {
 
61
#include <libavcodec/avcodec.h>
 
62
#include <libavformat/avformat.h>
 
63
#include <libavdevice/avdevice.h>
 
64
#include <libswscale/swscale.h>
 
65
#include <libavutil/avutil.h>
 
66
#if LIBAVUTIL_VERSION_CHECK(51, 33, 0, 60, 100)
 
67
#include <libavutil/time.h>
 
68
#endif
 
69
#include <libavutil/pixdesc.h>
 
70
#include <libavutil/opt.h>
 
71
#include <libavutil/mathematics.h> // for av_rescale_q (old libav support)
 
72
#include <libavutil/imgutils.h>
 
73
#include <libavutil/intreadwrite.h>
 
74
}
 
75
 
 
76
#include "libav_utils.h"
 
77
 
75
78
#if !LIBAVUTIL_VERSION_CHECK(51, 42, 0, 74, 100) && !defined(FF_API_PIX_FMT)
76
79
#define AVPixelFormat PixelFormat
77
80
#define PIXEL_FORMAT(FMT) PIX_FMT_ ## FMT