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
1c0a593a
Commit
1c0a593a
authored
Oct 27, 2002
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
get_vlc2()
Originally committed as revision 1084 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
055317a7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
mjpeg.c
libavcodec/mjpeg.c
+4
-6
No files found.
libavcodec/mjpeg.c
View file @
1c0a593a
...
...
@@ -831,9 +831,8 @@ static int mjpeg_decode_sof0(MJpegDecodeContext *s)
static
inline
int
mjpeg_decode_dc
(
MJpegDecodeContext
*
s
,
int
dc_index
)
{
int
code
,
diff
;
#if 0
code = get_vlc2(&s->gb, s->vlc[0][dc_index].table,
s->vlc[0][dc_index].bits, 1);
#if 1
code
=
get_vlc2
(
&
s
->
gb
,
s
->
vlcs
[
0
][
dc_index
].
table
,
9
,
2
);
#else
code
=
get_vlc
(
&
s
->
gb
,
&
s
->
vlcs
[
0
][
dc_index
]);
#endif
...
...
@@ -876,9 +875,8 @@ static int decode_block(MJpegDecodeContext *s, DCTELEM *block,
ac_vlc
=
&
s
->
vlcs
[
1
][
ac_index
];
i
=
1
;
for
(;;)
{
#if 0
code = get_vlc2(&s->gb, s->vlcs[1][ac_index].table,
s->vlcs[1][ac_index].bits, 2);
#if 1
code
=
get_vlc2
(
&
s
->
gb
,
s
->
vlcs
[
1
][
ac_index
].
table
,
9
,
2
);
#else
code
=
get_vlc
(
&
s
->
gb
,
ac_vlc
);
#endif
...
...
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