diff --git a/libavformat/mux.c b/libavformat/mux.c index 96eecb5a93f1cc0c58b760083450104a9e8bbf3b..f7a7f3a2c9b4e9023836909c1b7f6a57f57127ef 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;