summaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2016-12-05 14:13:58 -0500
committerVittorio Giovara <vittorio.giovara@gmail.com>2017-03-23 10:09:12 +0100
commit263358e0c9e7ffaa965fdbe986c8b18381d2b24a (patch)
treeab342e4925128668e72acec7f71efedf5cfd04f1 /libavformat
parent5e71299758d3aa7c93c3cca618a8e048a9483794 (diff)
downloadffmpeg-streaming-263358e0c9e7ffaa965fdbe986c8b18381d2b24a.zip
ffmpeg-streaming-263358e0c9e7ffaa965fdbe986c8b18381d2b24a.tar.gz
lavf: Drop deprecated AVFract type and related field
Deprecated in 05/2014.
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/avformat.h21
-rw-r--r--libavformat/version.h3
2 files changed, 0 insertions, 24 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 547b88b..1bf66b1 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -374,19 +374,6 @@ int av_get_packet(AVIOContext *s, AVPacket *pkt, int size);
*/
int av_append_packet(AVIOContext *s, AVPacket *pkt, int size);
-#if FF_API_LAVF_FRAC
-/*************************************************/
-/* fractional numbers for exact pts handling */
-
-/**
- * The exact value of the fractional number is: 'val + num / den'.
- * num is assumed to be 0 <= num < den.
- */
-typedef struct AVFrac {
- int64_t val, num, den;
-} AVFrac;
-#endif
-
/*************************************************/
/* input/output formats */
@@ -713,14 +700,6 @@ typedef struct AVStream {
#endif
void *priv_data;
-#if FF_API_LAVF_FRAC
- /**
- * @deprecated this field is unused
- */
- attribute_deprecated
- struct AVFrac pts;
-#endif
-
/**
* This is the fundamental unit of time (in seconds) in terms
* of which frame timestamps are represented.
diff --git a/libavformat/version.h b/libavformat/version.h
index 26f5c75..dad38d1 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_FRAC
-#define FF_API_LAVF_FRAC (LIBAVFORMAT_VERSION_MAJOR < 58)
-#endif
#ifndef FF_API_LAVF_CODEC_TB
#define FF_API_LAVF_CODEC_TB (LIBAVFORMAT_VERSION_MAJOR < 58)
#endif
OpenPOWER on IntegriCloud