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

Michael Niedermayer git at videolan.org
Mon Jan 14 16:21:55 CET 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Jan 14 00:07:26 2013 +0100| [d641ee94b57a581ab0e45bb21c64bb5a32b0502c] | committer: Martin Storsjö

lavf: Fix assignments in if()

Signed-off-by: Martin Storsjö <martin at martin.st>

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

 libavformat/mux.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/mux.c b/libavformat/mux.c
index 96eecb5..f7a7f3a 100644
--- a/libavformat/mux.c
+++ b/libavformat/mux.c
@@ -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;



More information about the ffmpeg-cvslog mailing list