avformat/matroskaenc: Fix () error
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 7 Oct 2016 12:01:20 +0000 (14:01 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 7 Oct 2016 12:56:53 +0000 (14:56 +0200)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/matroskaenc.c

index 0878cb5..484b5d6 100644 (file)
@@ -316,7 +316,7 @@ static int start_ebml_master_crc32(AVIOContext *pb, AVIOContext **dyn_cp, ebml_m
 {
     int ret;
 
-    if (ret = avio_open_dyn_buf(dyn_cp) < 0)
+    if ((ret = avio_open_dyn_buf(dyn_cp)) < 0)
         return ret;
 
     if (pb->seekable)