diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-03-08 10:57:44 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-03-08 10:57:44 +0000 |
commit | b559b29b1f9a8ce38f6d23fa4740b74bd5566bd5 (patch) | |
tree | 1f8dd705ad49af0d0afde2f98145be56a760e5a8 /libavformat/utils.c | |
parent | 7004ffb3d7274fe95fab7a699b75cc4e6d9092e3 (diff) | |
download | ffmpeg-streaming-b559b29b1f9a8ce38f6d23fa4740b74bd5566bd5.zip ffmpeg-streaming-b559b29b1f9a8ce38f6d23fa4740b74bd5566bd5.tar.gz |
read BITMAPINFOHEADER extra stuff (huffyuv decoding fixed)
fixed framerate encoding & decoding hopefully, this should fix av sync on long AVIs
Originally committed as revision 1646 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r-- | libavformat/utils.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index 9304849..5642894 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -1316,6 +1316,11 @@ void av_frac_add(AVFrac *f, int64_t incr) f->num = num; } +int av_gcd(int a, int b){ + if(b) return av_gcd(b, a%b); + else return a; +} + /** * register a new image format * @param img_fmt Image format descriptor |