Revision b7effd4e libavformat/tty.c

View differences:

libavformat/tty.c
47 47
    int len;
48 48

  
49 49
    url_fseek(pb, start_pos, SEEK_SET);
50
    if (get_byte(pb) != 0x1A)
50
    if (avio_r8(pb) != 0x1A)
51 51
        return -1;
52 52

  
53 53
#define GET_EFI_META(name,size) \
54
    len = get_byte(pb); \
54
    len = avio_r8(pb); \
55 55
    if (len < 1 || len > size) \
56 56
        return -1; \
57
    if (get_buffer(pb, buf, size) == size) { \
57
    if (avio_read(pb, buf, size) == size) { \
58 58
        buf[len] = 0; \
59 59
        av_metadata_set2(&avctx->metadata, name, buf, 0); \
60 60
    }

Also available in: Unified diff