Move SRC (badly) to AudioDecoder.
[dcpomatic.git] / src / lib / encoder.h
index 6cf5540c598a81e879f4a1f88d9845ad43785cfe..cce26efc8f06689fb6fb88f56c27e0eafc34a98f 100644 (file)
 #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,10 +106,6 @@ 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;
        std::list<boost::shared_ptr<DCPVideoFrame> > _queue;