]> git.sesse.net Git - ffmpeg/commitdiff
lavf: Drop deprecated AVFract type and related field
authorVittorio Giovara <vittorio.giovara@gmail.com>
Mon, 5 Dec 2016 19:13:58 +0000 (14:13 -0500)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Thu, 23 Mar 2017 09:09:12 +0000 (10:09 +0100)
Deprecated in 05/2014.

libavformat/avformat.h
libavformat/version.h

index 547b88b2f1c1468b8d5999fd3c6264d3a46b14c1..1bf66b15d1b6aab8b057a00a3433b65fdcee3326 100644 (file)
@@ -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.
index 26f5c759910d653ed17e2e72f87685b451070546..dad38d1180616b19bf68951e68f406b3dc7e2a01 100644 (file)
@@ -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