Revision e63a3628 libavformat/img2.c

View differences:

libavformat/img2.c
298 298
    pkt->size= 0;
299 299
    for(i=0; i<3; i++){
300 300
        if(size[i]){
301
            ret[i]= get_buffer(f[i], pkt->data + pkt->size, size[i]);
301
            ret[i]= avio_read(f[i], pkt->data + pkt->size, size[i]);
302 302
            if (!s->is_pipe)
303 303
                url_fclose(f[i]);
304 304
            if(ret[i]>0)

Also available in: Unified diff