Revision e4917f59 libavformat/nsvdec.c

View differences:

libavformat/nsvdec.c
233 233
{
234 234
    NSVContext *nsv = s->priv_data;
235 235
    ByteIOContext *pb = &s->pb;
236
    uint32 v = 0;
236
    uint32_t v = 0;
237 237
    int i;
238 238
    
239 239
    PRINT(("%s(), offset = %Ld, state = %d\n", __FUNCTION__, url_ftell(pb), nsv->state));
......
541 541
    AVStream *st[2] = {NULL, NULL};
542 542
    NSVStream *nst;
543 543
    AVPacket *pkt;
544
    uint32 v = 0;
544
    uint32_t v = 0;
545 545
    int i, err = 0;
546
    uint8 auxcount; /* number of aux metadata, also 4 bits of vsize */
547
    uint32 vsize;
548
    uint16 asize;
549
    uint16 auxsize;
550
    uint32 auxtag;
546
    uint8_t auxcount; /* number of aux metadata, also 4 bits of vsize */
547
    uint32_t vsize;
548
    uint16_t asize;
549
    uint16_t auxsize;
550
    uint32_t auxtag;
551 551
    
552 552
    PRINT(("%s(%d)\n", __FUNCTION__, fill_header));
553 553
    
......
586 586
              ((auxtag >> 24) & 0x0ff),
587 587
              auxsize));
588 588
        url_fskip(pb, auxsize);
589
        vsize -= auxsize + sizeof(uint16) + sizeof(uint32); /* that's becoming braindead */
589
        vsize -= auxsize + sizeof(uint16_t) + sizeof(uint32_t); /* that's becoming braindead */
590 590
    }
591 591
    
592 592
    if (url_feof(pb))

Also available in: Unified diff