diff common.c @ 324:9c6f056f0e41 libavcodec

fixed mpeg4 time stuff on encoding mpeg4 b-frame enoding support removed old, out-commented ratecontrol reuse motion compensation code between encoding & decoding prefix newly added global functions with ff_ to reduce namespace polution b-frame ME (unfinished, but working) added some comments to mpegvideo.h do MC on encoding only once if possible bugs? ;)
author michaelni
date Wed, 17 Apr 2002 04:32:12 +0000
parents 5cb2978e701f
children 2066dc543be4
line wrap: on
line diff
--- a/common.c	Mon Apr 15 12:52:21 2002 +0000
+++ b/common.c	Wed Apr 17 04:32:12 2002 +0000
@@ -451,3 +451,7 @@
     free(vlc->table_codes);
 }
 
+int ff_gcd(int a, int b){
+    if(b) return ff_gcd(b, a%b);
+    else  return a;
+}