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:
0c1e0ba
)
typo
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 23 Jun 2005 00:12:36 +0000
(
00:12
+0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 23 Jun 2005 00:12:36 +0000
(
00:12
+0000)
Originally committed as revision 4387 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/asf.c
patch
|
blob
|
history
diff --git
a/libavformat/asf.c
b/libavformat/asf.c
index
045766d
..
c52b1da
100644
(file)
--- a/
libavformat/asf.c
+++ b/
libavformat/asf.c
@@
-335,7
+335,7
@@
static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap)
if (strcmp(name,"WM/AlbumTitle")==0) { pstrcpy(s->album, sizeof(s->album), value); }
av_free(value);
}
- if ((value_type >= 2)
||
(value_type <= 5)) // boolean or DWORD or QWORD or WORD
+ if ((value_type >= 2)
&&
(value_type <= 5)) // boolean or DWORD or QWORD or WORD
{
if (value_type==2) value_num = get_le32(pb);
if (value_type==3) value_num = get_le32(pb);