OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16473c1
)
memset when category is >=7, part of cook multichannel
author
Benjamin Larsson
<banan@ludd.ltu.se>
Sun, 15 Mar 2009 14:04:25 +0000
(14:04 +0000)
committer
Benjamin Larsson
<banan@ludd.ltu.se>
Sun, 15 Mar 2009 14:04:25 +0000
(14:04 +0000)
Originally committed as revision 17987 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/cook.c
patch
|
blob
|
history
diff --git
a/libavcodec/cook.c
b/libavcodec/cook.c
index
3e7ffcf
..
b9ff7d1
100644
(file)
--- a/
libavcodec/cook.c
+++ b/
libavcodec/cook.c
@@
-617,7
+617,7
@@
static void decode_vectors(COOKContext* q, int* category,
for(j=0 ; j<q->total_subbands ; j++) category[band+j]=7;
}
}
- if(index
=
=7) {
+ if(index
>
=7) {
memset(subband_coef_index, 0, sizeof(subband_coef_index));
memset(subband_coef_sign, 0, sizeof(subband_coef_sign));
}