lavf: Fix assignments in if()
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 13 Jan 2013 23:07:26 +0000 (00:07 +0100)
committerMartin Storsjö <martin@martin.st>
Mon, 14 Jan 2013 11:12:55 +0000 (13:12 +0200)
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/mux.c

index 96eecb5..f7a7f3a 100644 (file)
@@ -305,7 +305,7 @@ int avformat_write_header(AVFormatContext *s, AVDictionary **options)
             return ret;
     }
 
-    if ((ret = init_pts(s) < 0))
+    if ((ret = init_pts(s)) < 0)
         return ret;
 
     return 0;