1 Jul
2009
1 Jul
'09
4:39 p.m.
Author: kostya Date: Wed Jul 1 16:39:13 2009 New Revision: 4565 Log: Use url_read_complete() when reading more than one byte Modified: rtmp/rtmppkt.c Modified: rtmp/rtmppkt.c ============================================================================== --- rtmp/rtmppkt.c Wed Jul 1 13:11:50 2009 (r4564) +++ rtmp/rtmppkt.c Wed Jul 1 16:39:13 2009 (r4565) @@ -83,7 +83,7 @@ int rtmp_packet_read(URLContext *h, RTMP return -1; } if (hdr == RTMP_PS_TWELVEBYTES) { - if (url_read(h, buf, 4) != 4) { + if (url_read_complete(h, buf, 4) != 4) { return -1; } extra = AV_RL32(buf);
6246
Age (days ago)
6246
Last active (days ago)
0 comments
1 participants
participants (1)
-
kostya