diff --git a/libavformat/ty.c b/libavformat/ty.c index 71707f750f..4a1c820c08 100644 --- a/libavformat/ty.c +++ b/libavformat/ty.c @@ -48,7 +48,7 @@ static const uint8_t ty_AC3AudioPacket[] = { 0x00, 0x00, 0x01, 0xbd }; #define CHUNK_PEEK_COUNT 3 /* number of chunks to probe */ typedef struct TyRecHdr { - int64_t rec_size; + int32_t rec_size; uint8_t ex[2]; uint8_t rec_type; uint8_t subrec_type;