History

avfilter: fix const use of avfilter_next

Vittorio Giovara committed 13 years ago

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

Unified · Split

libavfilter/avfilter.c+2−2
@@ -277,7 +277,7 @@ const · 276 unmodified lines
277277 #endif
278278 AVFilter *avfilter_get_by_name(const char *name)
279279 {
280− AVFilter *f = NULL;
280+ const AVFilter *f = NULL;
281281
282282 if (!name)
283283 return NULL;
@@ -343,7 +343,7 @@ static void *filter_child_next(void *obj, void *prev) · 59 unmodified lines
343343
344344 static const AVClass *filter_child_class_next(const AVClass *prev)
345345 {
346− AVFilter *f = NULL;
346+ const AVFilter *f = NULL;
347347
348348 while (prev && (f = avfilter_next(f)))
349349 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