Browse Source

avconv: fix uninitialized variable

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.9
Michael Niedermayer 14 years ago
parent
commit
47219e1c0c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      avconv.c

+ 1
- 1
avconv.c View File

@@ -1217,11 +1217,11 @@ static void do_video_out(AVFormatContext *s,
formatted_picture = in_picture; formatted_picture = in_picture;
final_picture = formatted_picture; final_picture = formatted_picture;


#if !CONFIG_AVFILTER
resample_changed = ost->resample_width != dec->width || resample_changed = ost->resample_width != dec->width ||
ost->resample_height != dec->height || ost->resample_height != dec->height ||
ost->resample_pix_fmt != dec->pix_fmt; ost->resample_pix_fmt != dec->pix_fmt;


#if !CONFIG_AVFILTER
if (resample_changed) { if (resample_changed) {
av_log(NULL, AV_LOG_INFO, 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", "Input stream #%d.%d frame changed from size:%dx%d fmt:%s to size:%dx%d fmt:%s\n",


Loading…
Cancel
Save