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:
9c18a05
)
Do not reject LIST tags in wav with size 4.
author
Carl Eugen Hoyos
<cehoyos@ag.or.at>
Wed, 14 Dec 2011 14:09:30 +0000
(15:09 +0100)
committer
Carl Eugen Hoyos
<cehoyos@ag.or.at>
Wed, 14 Dec 2011 14:09:30 +0000
(15:09 +0100)
Fixes ticket #745.
libavformat/wav.c
patch
|
blob
|
history
diff --git
a/libavformat/wav.c
b/libavformat/wav.c
index
87d97b4
..
9d4b070
100644
(file)
--- a/
libavformat/wav.c
+++ b/
libavformat/wav.c
@@
-507,7
+507,7
@@
static int wav_read_header(AVFormatContext *s,
goto break_loop;
case MKTAG('L', 'I', 'S', 'T'):
list_type = avio_rl32(pb);
- if (size <
=
4) {
+ if (size < 4) {
av_log(s, AV_LOG_ERROR, "too short LIST");
return AVERROR_INVALIDDATA;
}