avformat/siff: fix if_( style

Signed-off-by: Paul B Mahol <onemda@gmail.com>
pull/115/head^2
Paul B Mahol 10 years ago
parent ba4fba8f48
commit 469a170135
  1. 2
      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);

Loading…
Cancel
Save