OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bd7cb8
)
wav: return av_get_packet errors unchanged.
author
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Fri, 2 Oct 2009 07:22:44 +0000
(07:22 +0000)
committer
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Fri, 2 Oct 2009 07:22:44 +0000
(07:22 +0000)
Originally committed as revision 20142 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/wav.c
patch
|
blob
|
history
diff --git
a/libavformat/wav.c
b/libavformat/wav.c
index
9487fc3
..
e1ad08e
100644
(file)
--- a/
libavformat/wav.c
+++ b/
libavformat/wav.c
@@
-268,8
+268,8
@@
static int wav_read_packet(AVFormatContext *s,
}
size = FFMIN(size, left);
ret = av_get_packet(s->pb, pkt, size);
- if (ret <
=
0)
- return
AVERROR(EIO)
;
+ if (ret < 0)
+ return
ret
;
pkt->stream_index = 0;
return ret;