summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2016-12-05 14:11:14 -0500
committerVittorio Giovara <vittorio.giovara@gmail.com>2017-03-23 10:09:11 +0100
commit5e71299758d3aa7c93c3cca618a8e048a9483794 (patch)
tree9f6f8ddebbe274c41b0d30197af1628a30297b37 /libavformat
parent96a47364d1cf346a5d0437e054b1b10d44d8d969 (diff)
downloadffmpeg-5e71299758d3aa7c93c3cca618a8e048a9483794.tar.gz
lavf: Drop deprecated bitexact functionality
Deprecated in 05/2014.
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/mux.c7
-rw-r--r--libavformat/version.h3
2 files changed, 0 insertions, 10 deletions
diff --git a/libavformat/mux.c b/libavformat/mux.c
index a85c3c79db..dfda89d983 100644
--- a/libavformat/mux.c
+++ b/libavformat/mux.c
@@ -99,13 +99,6 @@ static int init_muxer(AVFormatContext *s, AVDictionary **options)
if ((ret = av_opt_set_dict(s, &tmp)) < 0)
goto fail;
-#if FF_API_LAVF_BITEXACT && FF_API_LAVF_AVCTX
-FF_DISABLE_DEPRECATION_WARNINGS
- if (s->nb_streams && s->streams[0]->codec->flags & AV_CODEC_FLAG_BITEXACT)
- s->flags |= AVFMT_FLAG_BITEXACT;
-FF_ENABLE_DEPRECATION_WARNINGS
-#endif
-
// some sanity checks
if (s->nb_streams == 0 && !(of->flags & AVFMT_NOSTREAMS)) {
av_log(s, AV_LOG_ERROR, "no streams\n");
diff --git a/libavformat/version.h b/libavformat/version.h
index 7103b5d969..26f5c75991 100644
--- a/libavformat/version.h
+++ b/libavformat/version.h
@@ -48,9 +48,6 @@
* dropped at a future version bump. The defines themselves are not part of
* the public API and may change, break or disappear at any time.
*/
-#ifndef FF_API_LAVF_BITEXACT
-#define FF_API_LAVF_BITEXACT (LIBAVFORMAT_VERSION_MAJOR < 58)
-#endif
#ifndef FF_API_LAVF_FRAC
#define FF_API_LAVF_FRAC (LIBAVFORMAT_VERSION_MAJOR < 58)
#endif