* commit '5c439b41d0489412c0a4cf6dfb98915251677b8e': avfilter: have avfilter_get_by_name return const for next bump Conflicts: libavfilter/version.h
Showing the changes to libavfilter/avfilter.c (1 of 3 files). Show all
Unified · Split
| @@ -457,6 +457,9 @@ int avfilter_process_command(AVFilterContext *filter, const char *cmd, const cha · 456 unmodified lines | ||
| 457 | 457 | |
| 458 | 458 | static AVFilter *first_filter; |
| 459 | 459 | |
| 460 | +#if !FF_API_NOCONST_GET_NAME | |
| 461 | +const | |
| 462 | +#endif | |
| 460 | 463 | AVFilter *avfilter_get_by_name(const char *name) |
| 461 | 464 | { |
| 462 | 465 | const AVFilter *f = NULL; |