Unified · Split
| @@ -904,6 +904,9 @@ struct mp_lavfi *mp_lavfi_create_graph(struct mp_filter *parent, · 903 unmodified lines | ||
| 904 | 904 | char *hwdec_interop, |
| 905 | 905 | char **graph_opts, const char *graph) |
| 906 | 906 | { |
| 907 | + if (!graph) | |
| 908 | + return NULL; | |
| 909 | + | |
| 907 | 910 | struct lavfi *c = lavfi_alloc(parent); |
| 908 | 911 | if (!c) |
| 909 | 912 | return NULL; |