Showing the changes to libavfilter/avfilter.c (1 of 1 file). Show all
Unified · Split
| @@ -277,7 +277,7 @@ const · 276 unmodified lines | |||
| 277 | #endif | 277 | #endif |
| 278 | AVFilter *avfilter_get_by_name(const char *name) | 278 | AVFilter *avfilter_get_by_name(const char *name) |
| 279 | { | 279 | { |
| 280 | AVFilter *f = NULL; | 280 | const AVFilter *f = NULL; |
| 281 | 281 | ||
| 282 | if (!name) | 282 | if (!name) |
| 283 | return NULL; | 283 | return NULL; |
| @@ -343,7 +343,7 @@ static void *filter_child_next(void *obj, void *prev) · 59 unmodified lines | |||
| 343 | 343 | ||
| 344 | static const AVClass *filter_child_class_next(const AVClass *prev) | 344 | static const AVClass *filter_child_class_next(const AVClass *prev) |
| 345 | { | 345 | { |
| 346 | AVFilter *f = NULL; | 346 | const AVFilter *f = NULL; |
| 347 | 347 | ||
| 348 | while (prev && (f = avfilter_next(f))) | 348 | while (prev && (f = avfilter_next(f))) |
| 349 | if (f->priv_class == prev) | 349 | if (f->priv_class == prev) |