summaryrefslogtreecommitdiff
path: root/libavformat/siff.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/siff.c')
-rw-r--r--libavformat/siff.c2
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);