提交 884c7a6e 编写于 作者: V Vittorio Giovara 提交者: Anton Khirnov

avfilter: fix const use of avfilter_next

Signed-off-by: NAnton Khirnov <anton@khirnov.net>
上级 5c439b41
......@@ -277,7 +277,7 @@ const
#endif
AVFilter *avfilter_get_by_name(const char *name)
{
AVFilter *f = NULL;
const AVFilter *f = NULL;
if (!name)
return NULL;
......@@ -343,7 +343,7 @@ static void *filter_child_next(void *obj, void *prev)
static const AVClass *filter_child_class_next(const AVClass *prev)
{
AVFilter *f = NULL;
const AVFilter *f = NULL;
while (prev && (f = avfilter_next(f)))
if (f->priv_class == prev)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册