mirror of https://git.ffmpeg.org/ffmpeg.git
cosmetics: indentation
Originally committed as revision 9161 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
8623e55867
commit
808d83fd33
6
ffmpeg.c
6
ffmpeg.c
|
@ -1611,7 +1611,7 @@ static int av_encode(AVFormatContext **output_files,
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
if (ENABLE_SWSCALER)
|
if (ENABLE_SWSCALER)
|
||||||
sws_flags = av_get_int(sws_opts, "sws_flags", NULL);
|
sws_flags = av_get_int(sws_opts, "sws_flags", NULL);
|
||||||
ost->img_resample_ctx = sws_getContext(
|
ost->img_resample_ctx = sws_getContext(
|
||||||
icodec->width - (frame_leftBand + frame_rightBand),
|
icodec->width - (frame_leftBand + frame_rightBand),
|
||||||
icodec->height - (frame_topBand + frame_bottomBand),
|
icodec->height - (frame_topBand + frame_bottomBand),
|
||||||
|
@ -3765,7 +3765,7 @@ static void show_help(void)
|
||||||
av_opt_show(avctx_opts[0], NULL);
|
av_opt_show(avctx_opts[0], NULL);
|
||||||
av_opt_show(avformat_opts, NULL);
|
av_opt_show(avformat_opts, NULL);
|
||||||
if (ENABLE_SWSCALER)
|
if (ENABLE_SWSCALER)
|
||||||
av_opt_show(sws_opts, NULL);
|
av_opt_show(sws_opts, NULL);
|
||||||
|
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
@ -3787,7 +3787,7 @@ int main(int argc, char **argv)
|
||||||
}
|
}
|
||||||
avformat_opts = av_alloc_format_context();
|
avformat_opts = av_alloc_format_context();
|
||||||
if (ENABLE_SWSCALER)
|
if (ENABLE_SWSCALER)
|
||||||
sws_opts = sws_getContext(16, 16, 0, 16, 16, 0, sws_flags, NULL,NULL,NULL);
|
sws_opts = sws_getContext(16,16,0, 16,16,0, sws_flags, NULL,NULL,NULL);
|
||||||
|
|
||||||
if (argc <= 1)
|
if (argc <= 1)
|
||||||
show_help();
|
show_help();
|
||||||
|
|
Loading…
Reference in New Issue