[FFmpeg-cvslog] lavf/mux: Fix assignments in if()

Michael Niedermayer git at videolan.org
Fri Jan 18 05:23:22 CET 2013


ffmpeg | branch: release/1.1 | Michael Niedermayer <michaelni at gmx.at> | Mon Jan 14 00:07:26 2013 +0100| [9348514a6713a1457052cd980c9c5e9d8544f332] | committer: Michael Niedermayer

lavf/mux: Fix assignments in if()

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit 1ac5a8d7e3343718b0e86b44013742b7ca413c38)

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9348514a6713a1457052cd980c9c5e9d8544f332
---

 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;



More information about the ffmpeg-cvslog mailing list