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:
800a5a1
)
qscale==0 is invalid
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 16 Jan 2008 12:42:52 +0000
(12:42 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 16 Jan 2008 12:42:52 +0000
(12:42 +0000)
Originally committed as revision 11539 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/wmv2dec.c
patch
|
blob
|
history
diff --git
a/libavcodec/wmv2dec.c
b/libavcodec/wmv2dec.c
index
181e1c6
..
842234b
100644
(file)
--- a/
libavcodec/wmv2dec.c
+++ b/
libavcodec/wmv2dec.c
@@
-133,7
+133,7
@@
return -1;
av_log(s->avctx, AV_LOG_DEBUG, "I7:%X/\n", code);
}
s->chroma_qscale= s->qscale = get_bits(&s->gb, 5);
- if(s->qscale < 0)
+ if(s->qscale <
=
0)
return -1;
return 0;