Unified · Split
| @@ -69,8 +69,8 @@ int av_vsrc_buffer_add_video_buffer_ref2(AVFilterContext *buffer_filter, AVFilte · 68 unmodified lines | |||
| 69 | AVFilter *f = avfilter_get_by_name("scale"); | 69 | AVFilter *f = avfilter_get_by_name("scale"); |
| 70 | 70 | ||
| 71 | av_log(buffer_filter, AV_LOG_INFO, "Inserting scaler filter\n"); | 71 | av_log(buffer_filter, AV_LOG_INFO, "Inserting scaler filter\n"); |
| 72 | if (avfilter_open(&scale, f, "Input equalizer") < 0) | 72 | if ((ret = avfilter_open(&scale, f, "Input equalizer")) < 0) |
| 73 | return -1; | 73 | return ret; |
| 74 | 74 | ||
| 75 | if ((ret = avfilter_init_filter(scale, c->sws_param, NULL)) < 0) { | 75 | if ((ret = avfilter_init_filter(scale, c->sws_param, NULL)) < 0) { |
| 76 | avfilter_free(scale); | 76 | avfilter_free(scale); |