diff utils.c @ 75:78bec272ce3a libavformat

read BITMAPINFOHEADER extra stuff (huffyuv decoding fixed) fixed framerate encoding & decoding hopefully, this should fix av sync on long AVIs
author michaelni
date Sat, 08 Mar 2003 10:57:44 +0000
parents e851fa232508
children 25062c9b1f86
line wrap: on
line diff
--- a/utils.c	Sat Mar 08 01:40:52 2003 +0000
+++ b/utils.c	Sat Mar 08 10:57:44 2003 +0000
@@ -1316,6 +1316,11 @@
     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