Skip to content

Commit

Permalink
ffmpeg: fix some indentation
Browse files Browse the repository at this point in the history
Signed-off-by: Mans Rullgard <[email protected]>
  • Loading branch information
mansr committed Jul 17, 2011
1 parent e9f98c9 commit 08e09ed
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions ffmpeg.c
Original file line number Diff line number Diff line change
Expand Up @@ -2232,18 +2232,18 @@ static int transcode(AVFormatContext **output_files,
#if !CONFIG_AVFILTER
avcodec_get_frame_defaults(&ost->pict_tmp);
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");
ffmpeg_exit(1);
}
ost->img_resample_ctx = sws_getContext(
icodec->width,
icodec->height,
icodec->pix_fmt,
codec->width,
codec->height,
codec->pix_fmt,
ost->sws_flags, NULL, NULL, NULL);
icodec->pix_fmt,
codec->width,
codec->height,
codec->pix_fmt,
ost->sws_flags, NULL, NULL, NULL);
if (ost->img_resample_ctx == NULL) {
fprintf(stderr, "Cannot get resampling context\n");
ffmpeg_exit(1);
Expand Down

0 comments on commit 08e09ed

Please sign in to comment.