Revision e63a3628 libavformat/iv8.c

View differences:

libavformat/iv8.c
57 57
{
58 58
    int ret, size, pts, type;
59 59
retry:
60
    type= get_be16(s->pb); // 257 or 258
61
    size= get_be16(s->pb);
60
    type= avio_rb16(s->pb); // 257 or 258
61
    size= avio_rb16(s->pb);
62 62

  
63
    get_be16(s->pb); //some flags, 0x80 indicates end of frame
64
    get_be16(s->pb); //packet number
65
    pts=get_be32(s->pb);
66
    get_be32(s->pb); //6A 13 E3 88
63
    avio_rb16(s->pb); //some flags, 0x80 indicates end of frame
64
    avio_rb16(s->pb); //packet number
65
    pts=avio_rb32(s->pb);
66
    avio_rb32(s->pb); //6A 13 E3 88
67 67

  
68 68
    size -= 12;
69 69
    if(size<1)

Also available in: Unified diff