Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mathis Rosenhauer
libaec
Commits
f715432f
Commit
f715432f
authored
Feb 12, 2014
by
Mathis Rosenhauer
Browse files
Only encode full and partial blocks of last RSI
parent
3bbbaa33
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/encode.c
View file @
f715432f
...
...
@@ -690,6 +690,9 @@ static int m_get_rsi_resumable(struct aec_stream *strm)
}
else
{
if
(
state
->
flush
==
AEC_FLUSH
)
{
if
(
state
->
i
>
0
)
{
state
->
blocks_avail
=
state
->
i
/
strm
->
block_size
-
1
;
if
(
state
->
i
%
strm
->
block_size
)
state
->
blocks_avail
++
;
do
state
->
data_raw
[
state
->
i
]
=
state
->
data_raw
[
state
->
i
-
1
];
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment