X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fdecoder.h;h=19ef25ede0836eea85926956131c6ce9db1e15fc;hb=3781be4da4601176d7bb954f9cc65621d75e7344;hp=792f7dde2ea948c5046afb18cd855f29da89d331;hpb=3e3fa3f58b9ce62768ca8a977334ae1b5fe7da69;p=dcpomatic.git diff --git a/src/lib/decoder.h b/src/lib/decoder.h index 792f7dde2..19ef25ede 100644 --- a/src/lib/decoder.h +++ b/src/lib/decoder.h @@ -29,11 +29,6 @@ #include #include #include -#ifdef HAVE_SWRESAMPLE -extern "C" { -#include -} -#endif #include "util.h" class Job; @@ -134,10 +129,6 @@ private: AVFilterContext* _buffer_src_context; AVFilterContext* _buffer_sink_context; -#if HAVE_SWRESAMPLE - SwrContext* _swr_context; -#endif - bool _have_setup_video_filters; DelayLine* _delay_line; int _delay_in_bytes; @@ -145,7 +136,7 @@ private: /* Number of audio frames that we have pushed to the encoder (at the DCP sample rate). */ - int _audio_frames_processed; + int64_t _audio_frames_processed; }; #endif