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
adc5539e
Commit
adc5539e
authored
Sep 30, 2012
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
smacker: read escape codes in single get_bits() call
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
14fd34d7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
smacker.c
libavcodec/smacker.c
+3
-6
No files found.
libavcodec/smacker.c
View file @
adc5539e
...
...
@@ -231,12 +231,9 @@ static int smacker_decode_header_tree(SmackVContext *smk, GetBitContext *gb, int
av_log
(
smk
->
avctx
,
AV_LOG_ERROR
,
"Skipping high bytes tree
\n
"
);
}
escapes
[
0
]
=
get_bits
(
gb
,
8
);
escapes
[
0
]
|=
get_bits
(
gb
,
8
)
<<
8
;
escapes
[
1
]
=
get_bits
(
gb
,
8
);
escapes
[
1
]
|=
get_bits
(
gb
,
8
)
<<
8
;
escapes
[
2
]
=
get_bits
(
gb
,
8
);
escapes
[
2
]
|=
get_bits
(
gb
,
8
)
<<
8
;
escapes
[
0
]
=
get_bits
(
gb
,
16
);
escapes
[
1
]
=
get_bits
(
gb
,
16
);
escapes
[
2
]
=
get_bits
(
gb
,
16
);
last
[
0
]
=
last
[
1
]
=
last
[
2
]
=
-
1
;
...
...
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