diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2010-01-30 09:45:52 +0000 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2010-01-30 09:45:52 +0000 |
commit | b381a823cd97fb37f95706e66a7eb8b025243b3c (patch) | |
tree | cce6b93b2957faad2a6b524ddd109a9e5e34c214 | |
parent | 0b6b10d9dae44d3f48dd75f466264c780f7cff00 (diff) | |
download | ffmpeg-b381a823cd97fb37f95706e66a7eb8b025243b3c.tar.gz |
10l trocadero: now return value of ff_rtmp_packet_read() has different meaning
Originally committed as revision 21534 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/rtmpproto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c index 6787e0b48e..03fd90aa8e 100644 --- a/libavformat/rtmpproto.c +++ b/libavformat/rtmpproto.c @@ -663,7 +663,7 @@ static int get_packet(URLContext *s, int for_header) 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); |