History

avfilter: fix const use of avfilter_next

Vittorio Giovara committed 13 years ago

Commit 884c7a61 parent 5c439b41 file · +2 −2Browse files

Showing the changes to libavfilter/avfilter.c (1 of 1 file). Show all

Unified · Split

libavfilter/avfilter.c+2−2
@@ -277,7 +277,7 @@ const · 276 unmodified lines
277#endif277#endif
278AVFilter *avfilter_get_by_name(const char *name)278AVFilter *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
344static const AVClass *filter_child_class_next(const AVClass *prev)344static 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)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t