summaryrefslogtreecommitdiffstats
path: root/common/encode_lavc.h
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2021-12-13 16:29:41 +0100
committersfan5 <sfan5@live.de>2022-01-10 22:56:52 +0100
commit39bed5c7fc6c02d3149740bc4b65d50200e6abd6 (patch)
treefcc7aa698017331ae420324d310092213c4890b4 /common/encode_lavc.h
parentb1bf4393a85f70ae7b54afdeff1af41c6937acf2 (diff)
downloadmpv-39bed5c7fc6c02d3149740bc4b65d50200e6abd6.tar.bz2
mpv-39bed5c7fc6c02d3149740bc4b65d50200e6abd6.tar.xz
encode_lavc: replace deprecated av_init_packet()
Diffstat (limited to 'common/encode_lavc.h')
-rw-r--r--common/encode_lavc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/encode_lavc.h b/common/encode_lavc.h
index cc4030a292..c60afb6cc5 100644
--- a/common/encode_lavc.h
+++ b/common/encode_lavc.h
@@ -83,7 +83,9 @@ struct encoder_context {
AVCodecContext *encoder;
struct mux_stream *mux_stream;
+ // (essentially private)
struct stream *twopass_bytebuffer;
+ AVPacket *pkt;
};
// Free with talloc_free(). (Keep in mind actual deinitialization requires