aboutsummaryrefslogtreecommitdiffstats
path: root/avconv.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-08-16 12:18:37 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-08-16 12:18:37 +0200
commit47219e1c0c2f8a159e70b58e6293c169c7dd62cc (patch)
treec77999f880774adc017c353e4d4c3bd7e22f5e19 /avconv.c
parent091a24b75f44a66aec34ec94161d55681b06efcd (diff)
downloadffmpeg-47219e1c0c2f8a159e70b58e6293c169c7dd62cc.tar.gz
avconv: fix uninitialized variable
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'avconv.c')
-rw-r--r--avconv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/avconv.c b/avconv.c
index dd26849e24..f99b8d9f9c 100644
--- a/avconv.c
+++ b/avconv.c
@@ -1217,11 +1217,11 @@ static void do_video_out(AVFormatContext *s,
formatted_picture = in_picture;
final_picture = formatted_picture;
-#if !CONFIG_AVFILTER
resample_changed = ost->resample_width != dec->width ||
ost->resample_height != dec->height ||
ost->resample_pix_fmt != dec->pix_fmt;
+#if !CONFIG_AVFILTER
if (resample_changed) {
av_log(NULL, AV_LOG_INFO,
"Input stream #%d.%d frame changed from size:%dx%d fmt:%s to size:%dx%d fmt:%s\n",