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. Originally committed as revision 15533 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -48,7 +48,7 @@ static int flac_write_trailer(struct AVFormatContext *s)
|
||||
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);
|
||||
|
Reference in New Issue
Block a user