Originally committed as revision 21933 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Ramiro Polla 2010-02-21 03:23:30 +00:00
parent d68b27a95d
commit 802da0b490
1 changed files with 1 additions and 1 deletions

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;