Mercurial > libavcodec.hg
comparison utils.c @ 6467:8cb6b0f6f759 libavcodec
indentation
author | bcoudurier |
---|---|
date | Thu, 06 Mar 2008 23:10:47 +0000 |
parents | 3dae816c2485 |
children | ecbe9565dcae |
comparison
equal
deleted
inserted
replaced
6466:3dae816c2485 | 6467:8cb6b0f6f759 |
---|---|
1127 if (enc->width) { | 1127 if (enc->width) { |
1128 snprintf(buf + strlen(buf), buf_size - strlen(buf), | 1128 snprintf(buf + strlen(buf), buf_size - strlen(buf), |
1129 ", %dx%d", | 1129 ", %dx%d", |
1130 enc->width, enc->height); | 1130 enc->width, enc->height); |
1131 if (enc->sample_aspect_ratio.num) { | 1131 if (enc->sample_aspect_ratio.num) { |
1132 av_reduce(&display_aspect_ratio.num, &display_aspect_ratio.den, | 1132 av_reduce(&display_aspect_ratio.num, &display_aspect_ratio.den, |
1133 enc->width*enc->sample_aspect_ratio.num, | 1133 enc->width*enc->sample_aspect_ratio.num, |
1134 enc->height*enc->sample_aspect_ratio.den, | 1134 enc->height*enc->sample_aspect_ratio.den, |
1135 1024*1024); | 1135 1024*1024); |
1136 snprintf(buf + strlen(buf), buf_size - strlen(buf), | 1136 snprintf(buf + strlen(buf), buf_size - strlen(buf), |
1137 " [PAR %d:%d DAR %d:%d]", | 1137 " [PAR %d:%d DAR %d:%d]", |
1138 enc->sample_aspect_ratio.num, enc->sample_aspect_ratio.den, | 1138 enc->sample_aspect_ratio.num, enc->sample_aspect_ratio.den, |
1139 display_aspect_ratio.num, display_aspect_ratio.den); | 1139 display_aspect_ratio.num, display_aspect_ratio.den); |
1140 } | 1140 } |
1141 if(av_log_get_level() >= AV_LOG_DEBUG){ | 1141 if(av_log_get_level() >= AV_LOG_DEBUG){ |
1142 int g= ff_gcd(enc->time_base.num, enc->time_base.den); | 1142 int g= ff_gcd(enc->time_base.num, enc->time_base.den); |
1143 snprintf(buf + strlen(buf), buf_size - strlen(buf), | 1143 snprintf(buf + strlen(buf), buf_size - strlen(buf), |
1144 ", %d/%d", | 1144 ", %d/%d", |