Revision 20b02bc6 libavformat/mpeg.c

View differences:

libavformat/mpeg.c
1172 1172
        stream->predecode_packet= pkt_desc;
1173 1173
    stream->next_packet= &pkt_desc->next;
1174 1174

  
1175
    fifo_realloc(&stream->fifo, fifo_size(&stream->fifo, NULL) + size + 1);
1176

  
1175 1177
    if (s->is_dvd){
1176 1178
        if (is_iframe) {
1177 1179
            stream->fifo_iframe_ptr = stream->fifo.wptr;
......
1181 1183
        }
1182 1184
    }
1183 1185

  
1184
    fifo_realloc(&stream->fifo, fifo_size(&stream->fifo, NULL) + size + 1);
1185 1186
    fifo_write(&stream->fifo, buf, size, &stream->fifo.wptr);
1186 1187

  
1187 1188
    for(;;){

Also available in: Unified diff