]> git.sesse.net Git - nageru/blobdiff - nageru/kaeru.cpp
Release Nageru and Futatabi 1.9.1.
[nageru] / nageru / kaeru.cpp
index b10324c8b4091516072294a521ce66b76760041e..d9b1e0e0a2d2424433c783068f6aa441c7c9717b 100644 (file)
@@ -74,7 +74,7 @@ unique_ptr<Mux> create_mux(HTTPD *httpd, AVOutputFormat *oformat, X264Encoder *x
        // If audio is disabled (ie., we won't ever see any audio packets),
        // set nullptr here to also not include the stream in the mux.
        AVCodecParameters *audio_codecpar =
-               global_flags.enable_audio ? audio_encoder->get_codec_parameters().get() : nullptr;
+               global_flags.enable_audio ? audio_encoder->get_codec_parameters().release() : nullptr;
 
        unique_ptr<Mux> mux;
        mux.reset(new Mux(avctx, global_flags.width, global_flags.height, Mux::CODEC_H264, video_extradata, audio_codecpar,