projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b6b10d
)
10l trocadero: now return value of ff_rtmp_packet_read() has different meaning
author
Kostya Shishkov
<kostya.shishkov@gmail.com>
Sat, 30 Jan 2010 09:45:52 +0000
(09:45 +0000)
committer
Kostya Shishkov
<kostya.shishkov@gmail.com>
Sat, 30 Jan 2010 09:45:52 +0000
(09:45 +0000)
Originally committed as revision 21534 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/rtmpproto.c
patch
|
blob
|
history
diff --git
a/libavformat/rtmpproto.c
b/libavformat/rtmpproto.c
index 6787e0b48e6e7cc56f99cee8e7e4ad02a2200206..03fd90aa8e5c707a5c5982ac7b96f6b081e610ee 100644
(file)
--- a/
libavformat/rtmpproto.c
+++ b/
libavformat/rtmpproto.c
@@
-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);