Revision e356fc57 libavformat/lxfdec.c

View differences:

libavformat/lxfdec.c
137 137
    case 0:
138 138
        //video
139 139
        //skip VBI data and metadata
140
        url_fskip(pb, (int64_t)(uint32_t)AV_RL32(&header[44]) +
141
                      (int64_t)(uint32_t)AV_RL32(&header[52]));
140
        avio_seek(pb, (int64_t)(uint32_t)AV_RL32(&header[44]) +
141
                      (int64_t)(uint32_t)AV_RL32(&header[52]), SEEK_CUR);
142 142
        break;
143 143
    case 1:
144 144
        //audio
......
255 255

  
256 256
    if (format == 1) {
257 257
        //skip extended field data
258
        url_fskip(s->pb, (uint32_t)AV_RL32(&header[40]));
258
        avio_seek(s->pb, (uint32_t)AV_RL32(&header[40]), SEEK_CUR);
259 259
    }
260 260

  
261 261
    return 0;

Also available in: Unified diff