Revision e356fc57 libavformat/yop.c

View differences:

libavformat/yop.c
81 81
    video_dec->codec_type   = AVMEDIA_TYPE_VIDEO;
82 82
    video_dec->codec_id     = CODEC_ID_YOP;
83 83

  
84
    url_fskip(pb, 6);
84
    avio_seek(pb, 6, SEEK_CUR);
85 85

  
86 86
    frame_rate              = avio_r8(pb);
87 87
    yop->frame_size         = avio_r8(pb) * 2048;
......
153 153
    // Set position to the start of the frame
154 154
    pkt->pos = yop->video_packet.pos;
155 155

  
156
    url_fskip(pb, yop->audio_block_length - ret);
156
    avio_seek(pb, yop->audio_block_length - ret, SEEK_CUR);
157 157

  
158 158
    ret = avio_read(pb, yop->video_packet.data + yop->palette_size,
159 159
                     actual_video_data_size);

Also available in: Unified diff