summaryrefslogtreecommitdiff
path: root/libavutil/opt.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil/opt.c')
-rw-r--r--libavutil/opt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/opt.c b/libavutil/opt.c
index eecc539ea5..28adef6877 100644
--- a/libavutil/opt.c
+++ b/libavutil/opt.c
@@ -544,7 +544,7 @@ int av_opt_show2(void *obj, void *av_log_obj, int req_flags, int rej_flags)
void av_opt_set_defaults(void *s)
{
const AVOption *opt = NULL;
- while ((opt = av_opt_next(s, opt)) != NULL) {
+ while ((opt = av_opt_next(s, opt))) {
if (opt->flags & AV_OPT_FLAG_READONLY)
continue;