[FFmpeg-cvslog] r21535 - trunk/libavformat/rtmpproto.c

kostya subversion
Sat Jan 30 10:47:57 CET 2010


Author: kostya
Date: Sat Jan 30 10:47:57 2010
New Revision: 21535

Log:
another 10l: forgot to change parent condition as well

Modified:
   trunk/libavformat/rtmpproto.c

Modified: trunk/libavformat/rtmpproto.c
==============================================================================
--- trunk/libavformat/rtmpproto.c	Sat Jan 30 10:45:52 2010	(r21534)
+++ trunk/libavformat/rtmpproto.c	Sat Jan 30 10:47:57 2010	(r21535)
@@ -662,7 +662,7 @@ static int get_packet(URLContext *s, int
     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 {



More information about the ffmpeg-cvslog mailing list