mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-11-16 07:32:34 +03:00
10l trocadero: now return value of ff_rtmp_packet_read() has different meaning
Originally committed as revision 21534 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
1 parent
0b6b10d9da
commit
b381a823cd
1 file changed
+1
-1
@@ -663,7 +663,7 @@ static int get_packet(URLContext *s, int for_header)
|
||||
RTMPPacket rpkt;
|
||||
if ((ret = ff_rtmp_packet_read(rt->stream, &rpkt,
|
||||
rt->chunk_size, rt->prev_pkt[0])) != 0) {
|
||||
if (ret > 0) {
|
||||
if (ret == 0) {
|
||||
return AVERROR(EAGAIN);
|
||||
} else {
|
||||
return AVERROR(EIO);
|
||||
|
||||
Reference in new issue
Block a user