X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fffmpeg_file_encoder.h;h=9f3d88551266b26a184f03fa37f2d4f34e690e36;hb=06ccbd71896e73221122ef61014dd64fe345536a;hp=8a727106a7fe44194ceb72b957ea0cff4b0ce7c7;hpb=33e13c4053138930f4b2f59349e441c76111059d;p=dcpomatic.git diff --git a/src/lib/ffmpeg_file_encoder.h b/src/lib/ffmpeg_file_encoder.h index 8a727106a..9f3d88551 100644 --- a/src/lib/ffmpeg_file_encoder.h +++ b/src/lib/ffmpeg_file_encoder.h @@ -27,11 +27,14 @@ #include "event_history.h" #include "audio_mapping.h" #include "log.h" +#include "warnings.h" #include +DCPOMATIC_DISABLE_WARNINGS extern "C" { #include #include } +DCPOMATIC_ENABLE_WARNINGS class ExportAudioStream; @@ -70,7 +73,7 @@ private: static void buffer_free(void* opaque, uint8_t* data); void buffer_free2(uint8_t* data); - AVCodec* _video_codec = nullptr; + AVCodec const * _video_codec = nullptr; AVCodecContext* _video_codec_context = nullptr; std::vector> _audio_streams; bool _audio_stream_per_channel;