]> git.sesse.net Git - nageru/blobdiff - mux.h
Remove some use of the AVStream::codec parameter (not all). Fixes some deprecation...
[nageru] / mux.h
diff --git a/mux.h b/mux.h
index 83030215e86df4d3b5ae0a8adc581fdfd9d35e97..b3ea0120736e13c8cecd2daad5dc0975cd584df3 100644 (file)
--- a/mux.h
+++ b/mux.h
@@ -21,7 +21,7 @@ public:
        };
 
        // Takes ownership of avctx. <keyframe_signal_receiver> can be nullptr.
-       Mux(AVFormatContext *avctx, int width, int height, Codec video_codec, const std::string &video_extradata, const AVCodecContext *audio_ctx, int time_base);
+       Mux(AVFormatContext *avctx, int width, int height, Codec video_codec, const std::string &video_extradata, const AVCodecParameters *audio_codecpar, int time_base);
        ~Mux();
        void add_packet(const AVPacket &pkt, int64_t pts, int64_t dts);