1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

Reindent after the last commit.

Originally committed as revision 22984 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Stefano Sabatini 2010-04-27 23:22:30 +00:00
parent 8280e2bd45
commit 441881b4f9

View File

@ -156,14 +156,14 @@ static void show_stream(AVFormatContext *fmt_ctx, int stream_idx)
printf("height=%d\n", dec_ctx->height); printf("height=%d\n", dec_ctx->height);
printf("has_b_frames=%d\n", dec_ctx->has_b_frames); printf("has_b_frames=%d\n", dec_ctx->has_b_frames);
if (dec_ctx->sample_aspect_ratio.num) { if (dec_ctx->sample_aspect_ratio.num) {
printf("sample_aspect_ratio=%d:%d\n", dec_ctx->sample_aspect_ratio.num, printf("sample_aspect_ratio=%d:%d\n", dec_ctx->sample_aspect_ratio.num,
dec_ctx->sample_aspect_ratio.den); dec_ctx->sample_aspect_ratio.den);
av_reduce(&display_aspect_ratio.num, &display_aspect_ratio.den, av_reduce(&display_aspect_ratio.num, &display_aspect_ratio.den,
dec_ctx->width*dec_ctx->sample_aspect_ratio.num, dec_ctx->width * dec_ctx->sample_aspect_ratio.num,
dec_ctx->height*dec_ctx->sample_aspect_ratio.den, dec_ctx->height * dec_ctx->sample_aspect_ratio.den,
1024*1024); 1024*1024);
printf("display_aspect_ratio=%d:%d\n", display_aspect_ratio.num, printf("display_aspect_ratio=%d:%d\n", display_aspect_ratio.num,
display_aspect_ratio.den); display_aspect_ratio.den);
} }
printf("pix_fmt=%s\n", dec_ctx->pix_fmt != PIX_FMT_NONE ? printf("pix_fmt=%s\n", dec_ctx->pix_fmt != PIX_FMT_NONE ?
av_pix_fmt_descriptors[dec_ctx->pix_fmt].name : "unknown"); av_pix_fmt_descriptors[dec_ctx->pix_fmt].name : "unknown");