[FFmpeg-cvslog] ffmpeg: fix some indentation
Mans Rullgard
git at videolan.org
Sun Jul 17 20:12:48 CEST 2011
ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Sun Jul 17 15:27:41 2011 +0100| [08e09ed7db732ebc53b8c60d7a39ac0abd49694f] | committer: Mans Rullgard
ffmpeg: fix some indentation
Signed-off-by: Mans Rullgard <mans at mansr.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=08e09ed7db732ebc53b8c60d7a39ac0abd49694f
---
ffmpeg.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/ffmpeg.c b/ffmpeg.c
index de5b8c2..776cfab 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -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);
More information about the ffmpeg-cvslog
mailing list