Mercurial > libavformat.hg
changeset 595:f0066a7fba8a libavformat
use correct types
author | melanson |
---|---|
date | Sat, 20 Nov 2004 23:53:24 +0000 |
parents | 89a09ede50ad |
children | a966fb81b076 |
files | nsvdec.c |
diffstat | 1 files changed, 8 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/nsvdec.c Sat Nov 20 23:10:07 2004 +0000 +++ b/nsvdec.c Sat Nov 20 23:53:24 2004 +0000 @@ -233,7 +233,7 @@ { NSVContext *nsv = s->priv_data; ByteIOContext *pb = &s->pb; - uint32 v = 0; + uint32_t v = 0; int i; PRINT(("%s(), offset = %Ld, state = %d\n", __FUNCTION__, url_ftell(pb), nsv->state)); @@ -541,13 +541,13 @@ AVStream *st[2] = {NULL, NULL}; NSVStream *nst; AVPacket *pkt; - uint32 v = 0; + uint32_t v = 0; int i, err = 0; - uint8 auxcount; /* number of aux metadata, also 4 bits of vsize */ - uint32 vsize; - uint16 asize; - uint16 auxsize; - uint32 auxtag; + uint8_t auxcount; /* number of aux metadata, also 4 bits of vsize */ + uint32_t vsize; + uint16_t asize; + uint16_t auxsize; + uint32_t auxtag; PRINT(("%s(%d)\n", __FUNCTION__, fill_header)); @@ -586,7 +586,7 @@ ((auxtag >> 24) & 0x0ff), auxsize)); url_fskip(pb, auxsize); - vsize -= auxsize + sizeof(uint16) + sizeof(uint32); /* that's becoming braindead */ + vsize -= auxsize + sizeof(uint16_t) + sizeof(uint32_t); /* that's becoming braindead */ } if (url_feof(pb))