comparison 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
comparison
equal deleted inserted replaced
74:4b501fe1539c 75:78bec272ce3a
1314 num = num % den; 1314 num = num % den;
1315 } 1315 }
1316 f->num = num; 1316 f->num = num;
1317 } 1317 }
1318 1318
1319 int av_gcd(int a, int b){
1320 if(b) return av_gcd(b, a%b);
1321 else return a;
1322 }
1323
1319 /** 1324 /**
1320 * register a new image format 1325 * register a new image format
1321 * @param img_fmt Image format descriptor 1326 * @param img_fmt Image format descriptor
1322 */ 1327 */
1323 void av_register_image_format(AVImageFormat *img_fmt) 1328 void av_register_image_format(AVImageFormat *img_fmt)