Revision a2704c97 libavformat/dv.c

View differences:

libavformat/dv.c
417 417
            return -1;
418 418
        }
419 419
        if (state == 0x003f0700 || state == 0xff3f0700)
420
            marker_pos = url_ftell(s->pb);
421
        if (state == 0xff3f0701 && url_ftell(s->pb) - marker_pos == 80) {
420
            marker_pos = avio_tell(s->pb);
421
        if (state == 0xff3f0701 && avio_tell(s->pb) - marker_pos == 80) {
422 422
            avio_seek(s->pb, -163, SEEK_CUR);
423 423
            state = avio_rb32(s->pb);
424 424
            break;

Also available in: Unified diff