diff --git a/libavformat/mux.c b/libavformat/mux.c index c34a2946c7..649b4961d9 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;