Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -121,7 +121,8 @@ static int config_input(AVFilterLink *inlink) · 120 unmodified lines | |||
| 121 | s->signal = av_calloc(size, sizeof(*s->signal)); | 121 | s->signal = av_calloc(size, sizeof(*s->signal)); |
| 122 | s->code = av_calloc(size, sizeof(*s->code)); | 122 | s->code = av_calloc(size, sizeof(*s->code)); |
| 123 | s->temp = av_calloc(size, sizeof(*s->temp)); | 123 | s->temp = av_calloc(size, sizeof(*s->temp)); |
| 124 | if (!s->temp) | 124 | if (!s->unfiltered || !s->filtered || !s->avg_filter || |
| 125 | !s->std_filter || !s->signal || !s->code || !s->temp) | ||
| 125 | return AVERROR(ENOMEM); | 126 | return AVERROR(ENOMEM); |
| 126 | 127 | ||
| 127 | return 0; | 128 | return 0; |