comparison utils.c @ 4243:964903243e66 libavformat

remove ff_get_fourcc() and use AV_RL32() instead
author aurel
date Sat, 17 Jan 2009 12:21:01 +0000
parents 44f4dca12784
children a2a190f1bb9d
comparison
equal deleted inserted replaced
4242:44f4dca12784 4243:964903243e66
1944 * And there are "variable" fps files this needs to detect as well. 1944 * And there are "variable" fps files this needs to detect as well.
1945 */ 1945 */
1946 static int tb_unreliable(AVCodecContext *c){ 1946 static int tb_unreliable(AVCodecContext *c){
1947 if( c->time_base.den >= 101L*c->time_base.num 1947 if( c->time_base.den >= 101L*c->time_base.num
1948 || c->time_base.den < 5L*c->time_base.num 1948 || c->time_base.den < 5L*c->time_base.num
1949 /* || c->codec_tag == ff_get_fourcc("DIVX") 1949 /* || c->codec_tag == AV_RL32("DIVX")
1950 || c->codec_tag == ff_get_fourcc("XVID")*/ 1950 || c->codec_tag == AV_RL32("XVID")*/
1951 || c->codec_id == CODEC_ID_MPEG2VIDEO) 1951 || c->codec_id == CODEC_ID_MPEG2VIDEO)
1952 return 1; 1952 return 1;
1953 return 0; 1953 return 0;
1954 } 1954 }
1955 1955