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:
f0812be
)
Fix spatial_decomposition_type validity check.
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 9 Apr 2009 15:33:02 +0000
(15:33 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 9 Apr 2009 15:33:02 +0000
(15:33 +0000)
Fixes infinite loop (did no investigate why exactly it got stuck).
Originally committed as revision 18389 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/snow.c
patch
|
blob
|
history
diff --git
a/libavcodec/snow.c
b/libavcodec/snow.c
index
921010e
..
93bca04
100644
(file)
--- a/
libavcodec/snow.c
+++ b/
libavcodec/snow.c
@@
-3620,7
+3620,7
@@
static int decode_header(SnowContext *s){
}
s->spatial_decomposition_type+= get_symbol(&s->c, s->header_state, 1);
- if(s->spatial_decomposition_type > 1){
+ if(s->spatial_decomposition_type > 1
U
){
av_log(s->avctx, AV_LOG_ERROR, "spatial_decomposition_type %d not supported", s->spatial_decomposition_type);
return -1;
}