avformat/siff: fix if_( style
authorPaul B Mahol <onemda@gmail.com>
Wed, 4 Feb 2015 13:10:53 +0000 (13:10 +0000)
committerPaul B Mahol <onemda@gmail.com>
Wed, 4 Feb 2015 13:10:53 +0000 (13:10 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavformat/siff.c

index 8901e1e..83ff8be 100644 (file)
@@ -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 (!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);
                 return AVERROR_INVALIDDATA;
             if (av_new_packet(pkt, size + c->gmcsize + 2) < 0)
                 return AVERROR(ENOMEM);