Revision f3cb1cd0 libavformat/rtmppkt.c

View differences:

libavformat/rtmppkt.c
376 376
        if (data[-1] == AMF_DATA_TYPE_STRING) {
377 377
            size = bytestream_get_be16(&data);
378 378
        } else {
379
            size = bytestream_get_be32(data);
379
            size = bytestream_get_be32(&data);
380 380
        }
381 381
        size = FFMIN(size, 1023);
382 382
        memcpy(buf, data, size);

Also available in: Unified diff