summaryrefslogtreecommitdiffstats
path: root/common/encode_lavc.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/encode_lavc.h')
-rw-r--r--common/encode_lavc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/encode_lavc.h b/common/encode_lavc.h
index 06e7254e86..cc4030a292 100644
--- a/common/encode_lavc.h
+++ b/common/encode_lavc.h
@@ -41,7 +41,7 @@ struct encode_lavc_context {
struct encode_opts *options;
struct mp_log *log;
struct encode_priv *priv;
- AVOutputFormat *oformat;
+ const AVOutputFormat *oformat;
const char *filename;
// All entry points must be guarded with the lock. Functions called by
@@ -71,7 +71,7 @@ struct encoder_context {
struct mpv_global *global;
struct encode_opts *options;
struct mp_log *log;
- AVOutputFormat *oformat;
+ const AVOutputFormat *oformat;
// (avoid using this)
struct encode_lavc_context *encode_lavc_ctx;