changeset 5606:2023dcca33ff libavformat

another 10l: forgot to change parent condition as well
author kostya
date Sat, 30 Jan 2010 09:47:57 +0000
parents 32fe8ab7e6b6
children 9143e8efec99
files rtmpproto.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rtmpproto.c	Sat Jan 30 09:45:52 2010 +0000
+++ b/rtmpproto.c	Sat Jan 30 09:47:57 2010 +0000
@@ -662,7 +662,7 @@
     for (;;) {
         RTMPPacket rpkt;
         if ((ret = ff_rtmp_packet_read(rt->stream, &rpkt,
-                                       rt->chunk_size, rt->prev_pkt[0])) != 0) {
+                                       rt->chunk_size, rt->prev_pkt[0])) <= 0) {
             if (ret == 0) {
                 return AVERROR(EAGAIN);
             } else {