Mercurial > libavformat.hg
changeset 5605:32fe8ab7e6b6 libavformat
10l trocadero: now return value of ff_rtmp_packet_read() has different meaning
author | kostya |
---|---|
date | Sat, 30 Jan 2010 09:45:52 +0000 |
parents | 81b2509db2ad |
children | 2023dcca33ff |
files | rtmpproto.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/rtmpproto.c Sat Jan 30 09:24:52 2010 +0000 +++ b/rtmpproto.c Sat Jan 30 09:45:52 2010 +0000 @@ -663,7 +663,7 @@ RTMPPacket rpkt; if ((ret = ff_rtmp_packet_read(rt->stream, &rpkt, rt->chunk_size, rt->prev_pkt[0])) != 0) { - if (ret > 0) { + if (ret == 0) { return AVERROR(EAGAIN); } else { return AVERROR(EIO);