diff options
author | wm4 <wm4@nowhere> | 2016-12-29 07:37:31 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-12-29 07:37:31 +0100 |
commit | b9cebf180b6d0b429dccbffb60243a88b600aca1 (patch) | |
tree | f52e9ece8330342f560423049a0d35b9113cb643 /common/encode_lavc.c | |
parent | 35716b53dbd63f4eeacffc989a705dbcd4ef9f41 (diff) | |
download | mpv-b9cebf180b6d0b429dccbffb60243a88b600aca1.tar.bz2 mpv-b9cebf180b6d0b429dccbffb60243a88b600aca1.tar.xz |
Prefix libavcodec CODEC_FLAG_ constants with AV_
The unprefixed versions are silently deprecated.
Diffstat (limited to 'common/encode_lavc.c')
-rw-r--r-- | common/encode_lavc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/encode_lavc.c b/common/encode_lavc.c index 7e116e3b0c..ee870a015a 100644 --- a/common/encode_lavc.c +++ b/common/encode_lavc.c @@ -473,7 +473,7 @@ static void encode_2pass_prepare(struct encode_lavc_context *ctx, if (!(*bytebuf = stream_open(buf, ctx->global))) { MP_WARN(ctx, "%s: could not open '%s', " "disabling 2-pass encoding at pass 2\n", prefix, buf); - codec->flags &= ~CODEC_FLAG_PASS2; + codec->flags &= ~AV_CODEC_FLAG_PASS2; set_to_avdictionary(ctx, dictp, "flags", "-pass2"); } else { struct bstr content = stream_read_complete(*bytebuf, NULL, |