Also do not check against empty string, the lower levels should
be able to deal with it.
Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
... | ... |
@@ -197,7 +197,7 @@ static av_cold int movie_common_init(AVFilterContext *ctx) |
197 | 197 |
char name[16]; |
198 | 198 |
AVStream *st; |
199 | 199 |
|
200 |
- if (!*movie->file_name) { |
|
200 |
+ if (!movie->file_name) { |
|
201 | 201 |
av_log(ctx, AV_LOG_ERROR, "No filename provided!\n"); |
202 | 202 |
return AVERROR(EINVAL); |
203 | 203 |
} |