git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e04bbe
)
FLV demuxer: return AVERROR_EOF upon detection of end of file.
author
Peter Ross
<pross@xvid.org>
Thu, 19 Feb 2009 12:19:55 +0000
(12:19 +0000)
committer
Peter Ross
<pross@xvid.org>
Thu, 19 Feb 2009 12:19:55 +0000
(12:19 +0000)
Originally committed as revision 17457 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/flvdec.c
patch
|
blob
|
history
diff --git
a/libavformat/flvdec.c
b/libavformat/flvdec.c
index
7f3184b
..
06ae33a
100644
(file)
--- a/
libavformat/flvdec.c
+++ b/
libavformat/flvdec.c
@@
-320,7
+320,7
@@
static int flv_read_packet(AVFormatContext *s, AVPacket *pkt)
dts |= get_byte(s->pb) << 24;
// av_log(s, AV_LOG_DEBUG, "type:%d, size:%d, dts:%d\n", type, size, dts);
if (url_feof(s->pb))
- return AVERROR
(EIO)
;
+ return AVERROR
_EOF
;
url_fskip(s->pb, 3); /* stream id, always 0 */
flags = 0;