diff options
author | Paul B Mahol <onemda@gmail.com> | 2015-02-04 13:10:53 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2015-02-04 13:10:53 +0000 |
commit | 469a170135542d1266ecb9bb489a357f29e14869 (patch) | |
tree | d4a4c87c4e5eb3348c670664d39f1dc726e1839d /libavformat/siff.c | |
parent | ba4fba8f487380a0152b73ba6f9f5e5556322ae7 (diff) | |
download | ffmpeg-469a170135542d1266ecb9bb489a357f29e14869.tar.gz |
avformat/siff: fix if_( style
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavformat/siff.c')
-rw-r--r-- | libavformat/siff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/siff.c b/libavformat/siff.c index 8901e1ee48..83ff8be3c3 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); |