summaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2015-06-13 09:28:41 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2015-06-13 09:28:41 +0200
commit3323c5f353af9d9de29528a086cbe9b103e268ea (patch)
treecf6c85e2fb50436ee0bc86352b4945bf61f13fe4 /libavformat
parent178ba1fd03c85835a70ec5b365d62ec6582da97f (diff)
downloadffmpeg-streaming-3323c5f353af9d9de29528a086cbe9b103e268ea.zip
ffmpeg-streaming-3323c5f353af9d9de29528a086cbe9b103e268ea.tar.gz
Remove a few occurences of "long long" from the libraries.
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/libnut.c2
-rw-r--r--libavformat/mp3dec.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/libnut.c b/libavformat/libnut.c
index 4a9a21a..92623ed 100644
--- a/libavformat/libnut.c
+++ b/libavformat/libnut.c
@@ -179,7 +179,7 @@ static size_t av_read(void * h, size_t len, uint8_t * buf) {
return avio_read(bc, buf, len);
}
-static off_t av_seek(void * h, long long pos, int whence) {
+static off_t av_seek(void * h, int64_t pos, int whence) {
AVIOContext * bc = h;
if (whence == SEEK_END) {
pos = avio_size(bc) + pos;
diff --git a/libavformat/mp3dec.c b/libavformat/mp3dec.c
index 07d7f54..841e0ca 100644
--- a/libavformat/mp3dec.c
+++ b/libavformat/mp3dec.c
@@ -377,7 +377,7 @@ static int mp3_read_header(AVFormatContext *s)
if (!(i&1023))
ffio_ensure_seekback(s->pb, i + 1024 + 4);
if (check(s, off + i) >= 0) {
- av_log(s, AV_LOG_INFO, "Skipping %d bytes of junk at %lld.\n", i, (long long)off);
+ av_log(s, AV_LOG_INFO, "Skipping %d bytes of junk at %"PRId64".\n", i, off);
avio_seek(s->pb, off + i, SEEK_SET);
break;
}
OpenPOWER on IntegriCloud