diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-05-10 21:55:06 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-05-10 21:55:06 +0100 |
| commit | 76052960d07a611889967f5927e2adb0d867ea07 (patch) | |
| tree | 86e51b16d5325b377fffd6488beb9661a01465b1 /src/lib/encoder.h | |
| parent | e203e064cd2d550771a80d9a710140ed07e3d7a0 (diff) | |
Make libswresample mandatory.
Diffstat (limited to 'src/lib/encoder.h')
| -rw-r--r-- | src/lib/encoder.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/lib/encoder.h b/src/lib/encoder.h index 6cf5540c5..a3a484856 100644 --- a/src/lib/encoder.h +++ b/src/lib/encoder.h @@ -33,12 +33,8 @@ #include <stdint.h> extern "C" { #include <libavutil/samplefmt.h> -} -#ifdef HAVE_SWRESAMPLE -extern "C" { #include <libswresample/swresample.h> } -#endif #include "util.h" #include "video_sink.h" #include "audio_sink.h" @@ -110,9 +106,7 @@ private: /** Number of video frames written for the DCP so far */ int _video_frames_out; -#if HAVE_SWRESAMPLE SwrContext* _swr_context; -#endif bool _have_a_real_frame; bool _terminate; |
