caf: use int64_t for num_packets
authorJustin Ruggles <justin.ruggles@gmail.com>
Mon, 9 Jul 2012 18:16:37 +0000 (14:16 -0400)
committerJustin Ruggles <justin.ruggles@gmail.com>
Thu, 19 Jul 2012 17:26:45 +0000 (13:26 -0400)
It is used to store a value read by avio_rb64().

libavformat/cafdec.c

index 90e97a1..15a1e22 100644 (file)
@@ -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);