projects
/
platform
/
upstream
/
libaec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0524b74
)
only assess splitting for id_len>1
author
Mathis Rosenhauer
<rosenhauer@dkrz.de>
Tue, 11 Feb 2014 12:58:35 +0000
(13:58 +0100)
committer
Mathis Rosenhauer
<rosenhauer@dkrz.de>
Tue, 11 Feb 2014 14:33:24 +0000
(15:33 +0100)
src/encode.c
patch
|
blob
|
history
diff --git
a/src/encode.c
b/src/encode.c
index
a59f42e
..
fe8b363
100644
(file)
--- a/
src/encode.c
+++ b/
src/encode.c
@@
-607,7
+607,10
@@
static int m_select_code_option(struct aec_stream *strm)
uint32_t se_len;
struct internal_state *state = strm->state;
- split_len = assess_splitting_option(strm);
+ if (state->id_len > 1)
+ split_len = assess_splitting_option(strm);
+ else
+ split_len = UINT32_MAX;
se_len = assess_se_option(strm);
if (split_len < state->uncomp_len) {