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