Browse Source

Indent.

Originally committed as revision 21933 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Ramiro Polla 15 years ago
parent
commit
802da0b490
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavdevice/oss_audio.c

+ 1
- 1
libavdevice/oss_audio.c View File

@@ -251,7 +251,7 @@ static int audio_read_packet(AVFormatContext *s1, AVPacket *pkt)
if ((ret=av_new_packet(pkt, s->frame_size)) < 0)
return ret;

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


Loading…
Cancel
Save