[FFmpeg-cvslog] avconv: fix uninitialized variable
Michael Niedermayer
git at videolan.org
Tue Aug 16 12:29:57 CEST 2011
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Aug 16 12:18:37 2011 +0200| [47219e1c0c2f8a159e70b58e6293c169c7dd62cc] | committer: Michael Niedermayer
avconv: fix uninitialized variable
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=47219e1c0c2f8a159e70b58e6293c169c7dd62cc
---
avconv.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/avconv.c b/avconv.c
index dd26849..f99b8d9 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",
More information about the ffmpeg-cvslog
mailing list