Revision e63a3628 libavformat/yuv4mpeg.c

View differences:

libavformat/yuv4mpeg.c
200 200
    struct frame_attributes *s1 = s->priv_data;
201 201

  
202 202
    for (i=0; i<MAX_YUV4_HEADER; i++) {
203
        header[i] = get_byte(pb);
203
        header[i] = avio_r8(pb);
204 204
        if (header[i] == '\n') {
205 205
            header[i+1] = 0x20;  // Add a space after last option. Makes parsing "444" vs "444alpha" easier.
206 206
            header[i+2] = 0;
......
352 352
    struct frame_attributes *s1 = s->priv_data;
353 353

  
354 354
    for (i=0; i<MAX_FRAME_HEADER; i++) {
355
        header[i] = get_byte(s->pb);
355
        header[i] = avio_r8(s->pb);
356 356
        if (header[i] == '\n') {
357 357
            header[i+1] = 0;
358 358
            break;

Also available in: Unified diff