You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
ffmpeg: fix some indentation
Signed-off-by: Mans Rullgard <mans@mansr.com>
This commit is contained in:
12
ffmpeg.c
12
ffmpeg.c
@@ -2232,18 +2232,18 @@ static int transcode(AVFormatContext **output_files,
|
|||||||
#if !CONFIG_AVFILTER
|
#if !CONFIG_AVFILTER
|
||||||
avcodec_get_frame_defaults(&ost->pict_tmp);
|
avcodec_get_frame_defaults(&ost->pict_tmp);
|
||||||
if(avpicture_alloc((AVPicture*)&ost->pict_tmp, codec->pix_fmt,
|
if(avpicture_alloc((AVPicture*)&ost->pict_tmp, codec->pix_fmt,
|
||||||
codec->width, codec->height)) {
|
codec->width, codec->height)) {
|
||||||
fprintf(stderr, "Cannot allocate temp picture, check pix fmt\n");
|
fprintf(stderr, "Cannot allocate temp picture, check pix fmt\n");
|
||||||
ffmpeg_exit(1);
|
ffmpeg_exit(1);
|
||||||
}
|
}
|
||||||
ost->img_resample_ctx = sws_getContext(
|
ost->img_resample_ctx = sws_getContext(
|
||||||
icodec->width,
|
icodec->width,
|
||||||
icodec->height,
|
icodec->height,
|
||||||
icodec->pix_fmt,
|
icodec->pix_fmt,
|
||||||
codec->width,
|
codec->width,
|
||||||
codec->height,
|
codec->height,
|
||||||
codec->pix_fmt,
|
codec->pix_fmt,
|
||||||
ost->sws_flags, NULL, NULL, NULL);
|
ost->sws_flags, NULL, NULL, NULL);
|
||||||
if (ost->img_resample_ctx == NULL) {
|
if (ost->img_resample_ctx == NULL) {
|
||||||
fprintf(stderr, "Cannot get resampling context\n");
|
fprintf(stderr, "Cannot get resampling context\n");
|
||||||
ffmpeg_exit(1);
|
ffmpeg_exit(1);
|
||||||
|
Reference in New Issue
Block a user