Mercurial > libavformat.hg
comparison avformat.h @ 1135:107f90e1551b libavformat
cleanup patch from Diego Petten <flameeyes@gentoo.org>
author | lu_zero |
---|---|
date | Sun, 25 Jun 2006 17:37:12 +0000 |
parents | 9b97e67aedfc |
children | e3a585883bbd |
comparison
equal
deleted
inserted
replaced
1134:19ceddeafe2e | 1135:107f90e1551b |
---|---|
78 /* the exact value of the fractional number is: 'val + num / den'. num | 78 /* the exact value of the fractional number is: 'val + num / den'. num |
79 is assumed to be such as 0 <= num < den */ | 79 is assumed to be such as 0 <= num < den */ |
80 typedef struct AVFrac { | 80 typedef struct AVFrac { |
81 int64_t val, num, den; | 81 int64_t val, num, den; |
82 } AVFrac; | 82 } AVFrac; |
83 | |
84 void av_frac_init(AVFrac *f, int64_t val, int64_t num, int64_t den); | |
85 void av_frac_add(AVFrac *f, int64_t incr); | |
86 void av_frac_set(AVFrac *f, int64_t val); | |
87 | 83 |
88 /*************************************************/ | 84 /*************************************************/ |
89 /* input/output formats */ | 85 /* input/output formats */ |
90 | 86 |
91 struct AVFormatContext; | 87 struct AVFormatContext; |