[FFmpeg-cvslog] avformat/electronicarts: use 64bit variable for avio_tell() result

Michael Niedermayer git at videolan.org
Sat Dec 21 14:10:32 CET 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Dec 21 13:48:15 2013 +0100| [587e3c3426be5f3a457c0c6542e70014e7f58402] | committer: Michael Niedermayer

avformat/electronicarts: use 64bit variable for avio_tell() result

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavformat/electronicarts.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/electronicarts.c b/libavformat/electronicarts.c
index dd8cf5d..d01883f 100644
--- a/libavformat/electronicarts.c
+++ b/libavformat/electronicarts.c
@@ -351,7 +351,7 @@ static int process_ea_header(AVFormatContext *s)
     int i;
 
     for (i = 0; i < 5 && (!ea->audio_codec || !ea->video_codec); i++) {
-        unsigned int startpos = avio_tell(pb);
+        uint64_t startpos     = avio_tell(pb);
         int err               = 0;
 
         blockid = avio_rl32(pb);



More information about the ffmpeg-cvslog mailing list