|
@@ -78,6 +78,9 @@ const AVBitStreamFilter *av_bsf_get_by_name(const char *name) |
|
|
const AVBitStreamFilter *f = NULL; |
|
|
const AVBitStreamFilter *f = NULL; |
|
|
void *i = 0; |
|
|
void *i = 0; |
|
|
|
|
|
|
|
|
|
|
|
if (!name) |
|
|
|
|
|
return NULL; |
|
|
|
|
|
|
|
|
while ((f = av_bsf_iterate(&i))) { |
|
|
while ((f = av_bsf_iterate(&i))) { |
|
|
if (!strcmp(f->name, name)) |
|
|
if (!strcmp(f->name, name)) |
|
|
return f; |
|
|
return f; |
|
|