diff options
author | sfan5 <sfan5@live.de> | 2021-05-01 21:53:56 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2021-05-01 22:07:31 +0200 |
commit | 39630dc8b6c2241df9e0e6066e1bd858b864f7de (patch) | |
tree | 47e41a747f0597b9b3c0d061bef9c3051597684d /audio/filter/af_lavcac3enc.c | |
parent | 02fbdf8aaffac527ce33c81ace001b48aee9e953 (diff) | |
download | mpv-39630dc8b6c2241df9e0e6066e1bd858b864f7de.tar.bz2 mpv-39630dc8b6c2241df9e0e6066e1bd858b864f7de.tar.xz |
build: address AVCodec, AVInputFormat, AVOutputFormat const warnings
FFmpeg recently changed these to be const on their side.
Diffstat (limited to 'audio/filter/af_lavcac3enc.c')
-rw-r--r-- | audio/filter/af_lavcac3enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/filter/af_lavcac3enc.c b/audio/filter/af_lavcac3enc.c index 38f93a1c08..45e0aa64a2 100644 --- a/audio/filter/af_lavcac3enc.c +++ b/audio/filter/af_lavcac3enc.c @@ -68,7 +68,7 @@ struct priv { struct mp_aframe *in_frame; struct mp_aframe_pool *out_pool; - struct AVCodec *lavc_acodec; + const struct AVCodec *lavc_acodec; struct AVCodecContext *lavc_actx; int bit_rate; int out_samples; // upper bound on encoded output per AC3 frame |