[FFmpeg-cvslog] avformat/matroskaenc: Fix () error

Michael Niedermayer git at videolan.org
Fri Oct 7 15:57:39 EEST 2016


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Fri Oct  7 14:01:20 2016 +0200| [572f16e10041c9af131709f88a53750a4b3db802] | committer: Michael Niedermayer

avformat/matroskaenc: Fix () error

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

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

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

diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c
index 0878cb5..484b5d6 100644
--- a/libavformat/matroskaenc.c
+++ b/libavformat/matroskaenc.c
@@ -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)



More information about the ffmpeg-cvslog mailing list