Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-08-17 17:30:16 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2015-08-23 05:16:02 +0300
commitb4d68e7cdb3be029c669b15ac0da158454fb910d (patch)
tree76e2e056b875efe6c24170b7df76f4de6173acee /libavformat/internal.h
parent6638e4a950a0208534b1081660fa4549aef61d74 (diff)
avformat: Remove use of AVFrac and AVStream->pts
Move field to internal part of AVStream and struct to internal.h Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r--libavformat/internal.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h
index 352739e7dd..bd8a0bcf8a 100644
--- a/libavformat/internal.h
+++ b/libavformat/internal.h
@@ -49,6 +49,18 @@ typedef struct CodecMime{
enum AVCodecID id;
} CodecMime;
+/*************************************************/
+/* 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 FFFrac {
+ int64_t val, num, den;
+} FFFrac;
+
+
struct AVFormatInternal {
/**
* Number of streams relevant for interleaving.