Revision 3d9aecb0 libavformat/flvdec.c

View differences:

libavformat/flvdec.c
327 327
        is_audio=0;
328 328
        flags = get_byte(s->pb);
329 329
        size--;
330
        if ((flags & 0xf0) == 0x50) { /* video info / command frame */
331
            url_fskip(s->pb, size);
332
            continue;
333
        }
330
        if ((flags & 0xf0) == 0x50) /* video info / command frame */
331
            goto skip;
334 332
    } else {
335 333
        if (type == FLV_TAG_TYPE_META && size > 13+1+4)
336 334
            flv_read_metabody(s, next);
337 335
        else /* skip packet */
338 336
            av_log(s, AV_LOG_ERROR, "skipping flv packet: type %d, size %d, flags %d\n", type, size, flags);
337
    skip:
339 338
        url_fseek(s->pb, next, SEEK_SET);
340 339
        continue;
341 340
    }

Also available in: Unified diff