aviad rozenhek <aviadr1 <at> gmail.com> writes: > - len = s->read_packet(s->opaque, dst, len); > + do { len = s->read_packet(s->opaque, dst, len); } while(len == > AVERROR(EAGAIN)); Apart from looking ugly, this change (and the one below) should be done without removing a line from the current source. Carl Eugen