summaryrefslogtreecommitdiff
path: root/libavformat/xmv.c
diff options
context:
space:
mode:
authorSven Hesse <drmccoy@drmccoy.de>2011-08-18 18:22:40 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-08-18 23:52:52 +0200
commitd50fc62ea2c2be2d9c7858e688f6bdfcf984ba34 (patch)
tree9417a06f307abff70dcffa80dd12b383f8219892 /libavformat/xmv.c
parent909e0fe24365fdfde245cb0eb0b7037d6a41a78a (diff)
downloadffmpeg-d50fc62ea2c2be2d9c7858e688f6bdfcf984ba34.tar.gz
xmv: Make the various offset variables uint64_t
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/xmv.c')
-rw-r--r--libavformat/xmv.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libavformat/xmv.c b/libavformat/xmv.c
index ef332e05a2..05ebe41974 100644
--- a/libavformat/xmv.c
+++ b/libavformat/xmv.c
@@ -60,7 +60,7 @@ typedef struct XMVVideoPacket {
int stream_index;
uint32_t data_size;
- uint32_t data_offset;
+ uint64_t data_offset;
uint32_t current_frame;
uint32_t frame_count;
@@ -83,11 +83,11 @@ typedef struct XMVAudioPacket {
XMVAudioTrack *track;
uint32_t data_size;
- uint32_t data_offset;
+ uint64_t data_offset;
uint32_t frame_size;
- uint32_t block_count;
+ uint64_t block_count;
} XMVAudioPacket;
typedef struct XMVDemuxContext {
@@ -98,8 +98,8 @@ typedef struct XMVDemuxContext {
uint32_t this_packet_size;
uint32_t next_packet_size;
- uint32_t this_packet_offset;
- uint32_t next_packet_offset;
+ uint64_t this_packet_offset;
+ uint64_t next_packet_offset;
uint16_t current_stream;
uint16_t stream_count;
@@ -286,7 +286,7 @@ static int xmv_process_packet_header(AVFormatContext *s)
uint8_t data[8];
uint16_t audio_track;
- uint32_t data_offset;
+ uint64_t data_offset;
/* Next packet size */
xmv->next_packet_size = avio_rl32(pb);