Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
034f42df
Commit
034f42df
authored
Sep 16, 2011
by
Justin Ruggles
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cosmetics: remove some needless commented-out stuff
parent
cfa317f6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
shorten.c
libavcodec/shorten.c
+0
-2
No files found.
libavcodec/shorten.c
View file @
034f42df
...
@@ -409,7 +409,6 @@ static int shorten_decode_frame(AVCodecContext *avctx,
...
@@ -409,7 +409,6 @@ static int shorten_decode_frame(AVCodecContext *avctx,
input_buf_size
=
buf_size
;
input_buf_size
=
buf_size
;
if
(
s
->
bitstream_index
+
s
->
bitstream_size
+
buf_size
>
s
->
allocated_bitstream_size
){
if
(
s
->
bitstream_index
+
s
->
bitstream_size
+
buf_size
>
s
->
allocated_bitstream_size
){
// printf("memmove\n");
memmove
(
s
->
bitstream
,
&
s
->
bitstream
[
s
->
bitstream_index
],
s
->
bitstream_size
);
memmove
(
s
->
bitstream
,
&
s
->
bitstream
[
s
->
bitstream_index
],
s
->
bitstream_size
);
s
->
bitstream_index
=
0
;
s
->
bitstream_index
=
0
;
}
}
...
@@ -556,7 +555,6 @@ static int shorten_decode_frame(AVCodecContext *avctx,
...
@@ -556,7 +555,6 @@ static int shorten_decode_frame(AVCodecContext *avctx,
}
}
}
}
// s->last_blocksize = s->blocksize;
s
->
bitindex
=
get_bits_count
(
&
s
->
gb
)
-
8
*
((
get_bits_count
(
&
s
->
gb
))
/
8
);
s
->
bitindex
=
get_bits_count
(
&
s
->
gb
)
-
8
*
((
get_bits_count
(
&
s
->
gb
))
/
8
);
i
=
(
get_bits_count
(
&
s
->
gb
))
/
8
;
i
=
(
get_bits_count
(
&
s
->
gb
))
/
8
;
if
(
i
>
buf_size
)
{
if
(
i
>
buf_size
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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