Mercurial > libavcodec.hg
comparison mpeg12enc.c @ 12084:b6cf19580e47 libavcodec
Change all occurences of "inofficial" to "unofficial" in code, comments
and options. Keep old options until next major version bump.
Patch by Rodney Baker, rodney d baker a iinet d net d au
author | cehoyos |
---|---|
date | Sat, 03 Jul 2010 15:35:23 +0000 |
parents | 7dd2a45249a9 |
children |
comparison
equal
deleted
inserted
replaced
12083:dd5efc28bca9 | 12084:b6cf19580e47 |
---|---|
117 int64_t d; | 117 int64_t d; |
118 | 118 |
119 for(i=1;i<14;i++) { | 119 for(i=1;i<14;i++) { |
120 int64_t n0= 1001LL/ff_frame_rate_tab[i].den*ff_frame_rate_tab[i].num*s->avctx->time_base.num; | 120 int64_t n0= 1001LL/ff_frame_rate_tab[i].den*ff_frame_rate_tab[i].num*s->avctx->time_base.num; |
121 int64_t n1= 1001LL*s->avctx->time_base.den; | 121 int64_t n1= 1001LL*s->avctx->time_base.den; |
122 if(s->avctx->strict_std_compliance > FF_COMPLIANCE_INOFFICIAL && i>=9) break; | 122 if(s->avctx->strict_std_compliance > FF_COMPLIANCE_UNOFFICIAL && i>=9) break; |
123 | 123 |
124 d = FFABS(n0 - n1); | 124 d = FFABS(n0 - n1); |
125 if(d < dmin){ | 125 if(d < dmin){ |
126 dmin=d; | 126 dmin=d; |
127 s->frame_rate_index= i; | 127 s->frame_rate_index= i; |