indentation
Originally committed as revision 12356 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
7ee4dd0282
commit
cbaf50f850
@ -1129,14 +1129,14 @@ void avcodec_string(char *buf, int buf_size, AVCodecContext *enc, int encode)
|
|||||||
", %dx%d",
|
", %dx%d",
|
||||||
enc->width, enc->height);
|
enc->width, enc->height);
|
||||||
if (enc->sample_aspect_ratio.num) {
|
if (enc->sample_aspect_ratio.num) {
|
||||||
av_reduce(&display_aspect_ratio.num, &display_aspect_ratio.den,
|
av_reduce(&display_aspect_ratio.num, &display_aspect_ratio.den,
|
||||||
enc->width*enc->sample_aspect_ratio.num,
|
enc->width*enc->sample_aspect_ratio.num,
|
||||||
enc->height*enc->sample_aspect_ratio.den,
|
enc->height*enc->sample_aspect_ratio.den,
|
||||||
1024*1024);
|
1024*1024);
|
||||||
snprintf(buf + strlen(buf), buf_size - strlen(buf),
|
snprintf(buf + strlen(buf), buf_size - strlen(buf),
|
||||||
" [PAR %d:%d DAR %d:%d]",
|
" [PAR %d:%d DAR %d:%d]",
|
||||||
enc->sample_aspect_ratio.num, enc->sample_aspect_ratio.den,
|
enc->sample_aspect_ratio.num, enc->sample_aspect_ratio.den,
|
||||||
display_aspect_ratio.num, display_aspect_ratio.den);
|
display_aspect_ratio.num, display_aspect_ratio.den);
|
||||||
}
|
}
|
||||||
if(av_log_get_level() >= AV_LOG_DEBUG){
|
if(av_log_get_level() >= AV_LOG_DEBUG){
|
||||||
int g= ff_gcd(enc->time_base.num, enc->time_base.den);
|
int g= ff_gcd(enc->time_base.num, enc->time_base.den);
|
||||||
|
Loading…
Reference in New Issue
Block a user