Revision a851fa7f

View differences:

ffmpeg.c
1146 1146
                         AVFrame *in_picture,
1147 1147
                         int *frame_size)
1148 1148
{
1149
    int nb_frames, i, ret, resample_changed;
1149
    int nb_frames, i, ret, av_unused resample_changed;
1150 1150
    AVFrame *final_picture, *formatted_picture;
1151 1151
    AVCodecContext *enc, *dec;
1152 1152
    double sync_ipts;
......
1193 1193
    formatted_picture = in_picture;
1194 1194
    final_picture = formatted_picture;
1195 1195

  
1196
#if !CONFIG_AVFILTER
1196 1197
    resample_changed = ost->resample_width   != dec->width  ||
1197 1198
                       ost->resample_height  != dec->height ||
1198 1199
                       ost->resample_pix_fmt != dec->pix_fmt;
......
1208 1209
        ost->resample_pix_fmt = dec->pix_fmt;
1209 1210
    }
1210 1211

  
1211
#if !CONFIG_AVFILTER
1212 1212
    ost->video_resample = dec->width   != enc->width  ||
1213 1213
                          dec->height  != enc->height ||
1214 1214
                          dec->pix_fmt != enc->pix_fmt;

Also available in: Unified diff