Commit adb54961 authored by Kostya Shishkov's avatar Kostya Shishkov

another 10l: forgot to change parent condition as well

Originally committed as revision 21535 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent b381a823
......@@ -662,7 +662,7 @@ static int get_packet(URLContext *s, int for_header)
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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment