[FFmpeg-cvslog] avformat/siff: fix if_( style

Paul B Mahol git at videolan.org
Wed Feb 4 14:11:28 CET 2015


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Wed Feb  4 13:10:53 2015 +0000| [469a170135542d1266ecb9bb489a357f29e14869] | committer: Paul B Mahol

avformat/siff: fix if_( style

Signed-off-by: Paul B Mahol <onemda at gmail.com>

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

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

diff --git a/libavformat/siff.c b/libavformat/siff.c
index 8901e1e..83ff8be 100644
--- a/libavformat/siff.c
+++ b/libavformat/siff.c
@@ -210,7 +210,7 @@ static int siff_read_packet(AVFormatContext *s, AVPacket *pkt)
         if (!c->curstrm) {
             size = c->pktsize - c->sndsize - c->gmcsize - 2;
             size = ffio_limit(s->pb, size);
-            if(size < 0 || c->pktsize < c->sndsize)
+            if (size < 0 || c->pktsize < c->sndsize)
                 return AVERROR_INVALIDDATA;
             if (av_new_packet(pkt, size + c->gmcsize + 2) < 0)
                 return AVERROR(ENOMEM);



More information about the ffmpeg-cvslog mailing list