X-Git-Url: https://git.sesse.net/?p=nageru;a=blobdiff_plain;f=nageru%2Fffmpeg_capture.h;h=468c213d17f677a9235242a5d9f7b1bcecdeaba3;hp=b0a1be2d542ce3b231bb4efe1263f43793c8b424;hb=1501c53153cb0daa846e4de7a73cfbfc797fd543;hpb=f2cd978b209a81253ae7ccd87b456f584c355815 diff --git a/nageru/ffmpeg_capture.h b/nageru/ffmpeg_capture.h index b0a1be2..468c213 100644 --- a/nageru/ffmpeg_capture.h +++ b/nageru/ffmpeg_capture.h @@ -31,7 +31,7 @@ #include extern "C" { -#include +#include #include #include #include @@ -271,7 +271,7 @@ private: std::vector command_queue; // Protected by . // Audio resampler. - AVAudioResampleContext *resampler = nullptr; + SwrContext *resampler = nullptr; AVSampleFormat last_src_format, last_dst_format; int64_t last_channel_layout; int last_sample_rate;