Mercurial > libavformat.hg
diff raw.c @ 3973:549a09cf23fe libavformat
Remove offset_t typedef and use int64_t directly instead.
The name offset_t is easily confused with the standard off_t type and
*_t is POSIX reserved namespace if any POSIX header is included.
author | diego |
---|---|
date | Fri, 03 Oct 2008 10:16:29 +0000 |
parents | 14020f10caf7 |
children | fcff303d5c8c |
line wrap: on
line diff
--- a/raw.c Thu Oct 02 21:15:48 2008 +0000 +++ b/raw.c Fri Oct 03 10:16:29 2008 +0000 @@ -48,7 +48,7 @@ ByteIOContext *pb = s->pb; uint8_t *streaminfo = s->streams[0]->codec->extradata; int len = s->streams[0]->codec->extradata_size; - offset_t file_size; + int64_t file_size; if (streaminfo && len > 0 && !url_is_streamed(s->pb)) { file_size = url_ftell(pb);