[FFmpeg-cvslog] caf: use int64_t for num_packets

Justin Ruggles git at videolan.org
Thu Jul 19 23:35:48 CEST 2012


ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Mon Jul  9 14:16:37 2012 -0400| [c0196a14b9f0f920da30bc30a8887fae9050a4b3] | committer: Justin Ruggles

caf: use int64_t for num_packets

It is used to store a value read by avio_rb64().

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c0196a14b9f0f920da30bc30a8887fae9050a4b3
---

 libavformat/cafdec.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/cafdec.c b/libavformat/cafdec.c
index 90e97a1..15a1e22 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);
 



More information about the ffmpeg-cvslog mailing list