[FFmpeg-devel] [PATCH 15/16] lavf/mux: Fix assignments in if()

Michael Niedermayer michaelni at gmx.at
Mon Jan 14 00:20:24 CET 2013


Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
 libavformat/mux.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/mux.c b/libavformat/mux.c
index c34a294..649b496 100644
--- a/libavformat/mux.c
+++ b/libavformat/mux.c
@@ -395,7 +395,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;
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list