aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/cafdec.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2012-07-09 14:16:37 -0400
committerJustin Ruggles <justin.ruggles@gmail.com>2012-07-19 13:26:45 -0400
commitc0196a14b9f0f920da30bc30a8887fae9050a4b3 (patch)
treea26e840a7ad142c437e420f6f7182314386bff53 /libavformat/cafdec.c
parentf5a9c35f886508b851011b7dd4ec18cc67b57d37 (diff)
downloadffmpeg-c0196a14b9f0f920da30bc30a8887fae9050a4b3.tar.gz
caf: use int64_t for num_packets
It is used to store a value read by avio_rb64().
Diffstat (limited to 'libavformat/cafdec.c')
-rw-r--r--libavformat/cafdec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/cafdec.c b/libavformat/cafdec.c
index 90e97a10bd..15a1e2207c 100644
--- a/libavformat/cafdec.c
+++ b/libavformat/cafdec.c
@@ -172,8 +172,8 @@ static int read_pakt_chunk(AVFormatContext *s, int64_t size)
AVIOContext *pb = s->pb;
AVStream *st = s->streams[0];
CaffContext *caf = s->priv_data;
- int64_t pos = 0, ccount;
- int num_packets, i;
+ int64_t pos = 0, ccount, num_packets;
+ int i;
ccount = avio_tell(pb);