Revision 05db409c libavformat/vc1test.c

View differences:

libavformat/vc1test.c
46 46
{
47 47
    ByteIOContext *pb = s->pb;
48 48
    AVStream *st;
49
    int fps, frames;
49
    int frames;
50
    uint32_t fps;
50 51

  
51 52
    frames = get_le24(pb);
52 53
    if(get_byte(pb) != 0xC5 || get_le32(pb) != 4)
......
69 70
        return -1;
70 71
    url_fskip(pb, 8);
71 72
    fps = get_le32(pb);
72
    if(fps == -1)
73
    if(fps == 0xFFFFFFFF)
73 74
        av_set_pts_info(st, 32, 1, 1000);
74 75
    else{
75 76
        av_set_pts_info(st, 24, 1, fps);

Also available in: Unified diff