]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/eval.c
ffserver: warn if config uses a system port
[ffmpeg] / libavutil / eval.c
index 99993b9d49ccda79a4ab1974a4044c84c98a52f4..5099e57faed62fe4ad566bde4b73a52275690f20 100644 (file)
@@ -359,7 +359,7 @@ static int parse_primary(AVExpr **e, Parser *p)
     }
 
     p->s= strchr(p->s, '(');
-    if (p->s==NULL) {
+    if (!p->s) {
         av_log(p, AV_LOG_ERROR, "Undefined constant or missing '(' in '%s'\n", s0);
         p->s= next;
         av_expr_free(d);