OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a62a37
)
Remove url_feof check that would be triggered only after incorrectly producing
author
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Fri, 2 Oct 2009 07:05:52 +0000
(07:05 +0000)
committer
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Fri, 2 Oct 2009 07:05:52 +0000
(07:05 +0000)
an empty packet and also av_get_packet already handles EOF now.
Originally committed as revision 20140 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/wav.c
patch
|
blob
|
history
diff --git
a/libavformat/wav.c
b/libavformat/wav.c
index
081eb78
..
9487fc3
100644
(file)
--- a/
libavformat/wav.c
+++ b/
libavformat/wav.c
@@
-247,8
+247,6
@@
static int wav_read_packet(AVFormatContext *s,
AVStream *st;
WAVContext *wav = s->priv_data;
- if (url_feof(s->pb))
- return AVERROR(EIO);
st = s->streams[0];
left = wav->data_end - url_ftell(s->pb);