Revision 802da0b4

View differences:

libavdevice/oss_audio.c
251 251
    if ((ret=av_new_packet(pkt, s->frame_size)) < 0)
252 252
        return ret;
253 253

  
254
        ret = read(s->fd, pkt->data, pkt->size);
254
    ret = read(s->fd, pkt->data, pkt->size);
255 255
    if (ret <= 0){
256 256
        av_free_packet(pkt);
257 257
        pkt->size = 0;

Also available in: Unified diff