Revision 1447dc59 libavformat/mpegts.c

View differences:

libavformat/mpegts.c
1312 1312
    int c, i;
1313 1313

  
1314 1314
    for(i = 0;i < MAX_RESYNC_SIZE; i++) {
1315
        c = url_fgetc(pb);
1316
        if (c < 0)
1315
        c = avio_r8(pb);
1316
        if (url_feof(pb))
1317 1317
            return -1;
1318 1318
        if (c == 0x47) {
1319 1319
            avio_seek(pb, -1, SEEK_CUR);

Also available in: Unified diff