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
This commit is contained in:
Michael Niedermayer
2003-03-08 10:57:44 +00:00
parent 7004ffb3d7
commit b559b29b1f
4 changed files with 47 additions and 12 deletions

View File

@@ -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