aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-04-16 23:18:22 +0200
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2011-04-19 12:23:59 +0200
commitc438c9075655951a8de2c41af1f76574cf22ab85 (patch)
tree24cd9de3e8389f349f87b183d8acbd1f53c202ae /ffmpeg.c
parent0f230c53df9001023b0c9e35b467096336beed85 (diff)
downloadffmpeg-c438c9075655951a8de2c41af1f76574cf22ab85.tar.gz
ffmpeg: reformat resample condition code in transcode()
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index af5fa641ea..eadfc8072d 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2284,9 +2284,9 @@ static int transcode(AVFormatContext **output_files,
fprintf(stderr, "Video pixel format is unknown, stream cannot be encoded\n");
ffmpeg_exit(1);
}
- ost->video_resample = (codec->width != icodec->width ||
- codec->height != icodec->height ||
- (codec->pix_fmt != icodec->pix_fmt));
+ ost->video_resample = codec->width != icodec->width ||
+ codec->height != icodec->height ||
+ codec->pix_fmt != icodec->pix_fmt;
if (ost->video_resample) {
#if !CONFIG_AVFILTER
avcodec_get_frame_defaults(&ost->pict_tmp);