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
0c938bd1
Commit
0c938bd1
authored
Jul 25, 2003
by
Alex Beregszaszi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
get_bits -> skip_bits
Originally committed as revision 2083 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
669e5093
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
svq1.c
libavcodec/svq1.c
+10
-10
No files found.
libavcodec/svq1.c
View file @
0c938bd1
...
@@ -616,9 +616,9 @@ static int svq1_decode_frame_header (GetBitContext *bitbuf,MpegEncContext *s) {
...
@@ -616,9 +616,9 @@ static int svq1_decode_frame_header (GetBitContext *bitbuf,MpegEncContext *s) {
printf
(
"embedded message:
\"
%s
\"\n
"
,
(
char
*
)
msg
);
printf
(
"embedded message:
\"
%s
\"\n
"
,
(
char
*
)
msg
);
}
}
get
_bits
(
bitbuf
,
2
);
skip
_bits
(
bitbuf
,
2
);
get
_bits
(
bitbuf
,
2
);
skip
_bits
(
bitbuf
,
2
);
get_bits
(
bitbuf
,
1
);
skip_bits1
(
bitbuf
);
/* load frame size */
/* load frame size */
frame_size_code
=
get_bits
(
bitbuf
,
3
);
frame_size_code
=
get_bits
(
bitbuf
,
3
);
...
@@ -639,21 +639,21 @@ static int svq1_decode_frame_header (GetBitContext *bitbuf,MpegEncContext *s) {
...
@@ -639,21 +639,21 @@ static int svq1_decode_frame_header (GetBitContext *bitbuf,MpegEncContext *s) {
/* unknown fields */
/* unknown fields */
if
(
get_bits
(
bitbuf
,
1
)
==
1
)
{
if
(
get_bits
(
bitbuf
,
1
)
==
1
)
{
get_bits
(
bitbuf
,
1
);
/* use packet checksum if (1) */
skip_bits1
(
bitbuf
);
/* use packet checksum if (1) */
get_bits
(
bitbuf
,
1
);
/* component checksums after image data if (1) */
skip_bits1
(
bitbuf
);
/* component checksums after image data if (1) */
if
(
get_bits
(
bitbuf
,
2
)
!=
0
)
if
(
get_bits
(
bitbuf
,
2
)
!=
0
)
return
-
1
;
return
-
1
;
}
}
if
(
get_bits
(
bitbuf
,
1
)
==
1
)
{
if
(
get_bits
(
bitbuf
,
1
)
==
1
)
{
get_bits
(
bitbuf
,
1
);
skip_bits1
(
bitbuf
);
get
_bits
(
bitbuf
,
4
);
skip
_bits
(
bitbuf
,
4
);
get_bits
(
bitbuf
,
1
);
skip_bits1
(
bitbuf
);
get
_bits
(
bitbuf
,
2
);
skip
_bits
(
bitbuf
,
2
);
while
(
get_bits
(
bitbuf
,
1
)
==
1
)
{
while
(
get_bits
(
bitbuf
,
1
)
==
1
)
{
get
_bits
(
bitbuf
,
8
);
skip
_bits
(
bitbuf
,
8
);
}
}
}
}
...
...
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