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:
1f6b1bc
)
read_packet return value must be < 0 when no packet is returned, including EOF.
author
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Sun, 11 Jun 2006 10:09:33 +0000
(10:09 +0000)
committer
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Sun, 11 Jun 2006 10:09:33 +0000
(10:09 +0000)
Originally committed as revision 5466 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/nuv.c
patch
|
blob
|
history
diff --git
a/libavformat/nuv.c
b/libavformat/nuv.c
index
e707854
..
5cb1a3c
100644
(file)
--- a/
libavformat/nuv.c
+++ b/
libavformat/nuv.c
@@
-186,7
+186,7
@@
static int nuv_packet(AVFormatContext *s, AVPacket *pkt) {
while (!url_feof(pb)) {
ret = get_buffer(pb, hdr, HDRSIZE);
if (ret <= 0)
- return ret;
+ return ret
? ret : -1
;
frametype = hdr[0];
size = PKTSIZE(LE_32(&hdr[8]));
switch (frametype) {