Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
0c938bd1
Commit
0c938bd1
authored
21 years ago
by
Alex Beregszaszi
Browse files
Options
Downloads
Patches
Plain Diff
get_bits -> skip_bits
Originally committed as revision 2083 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
669e5093
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libavcodec/svq1.c
+10
-10
10 additions, 10 deletions
libavcodec/svq1.c
with
10 additions
and
10 deletions
libavcodec/svq1.c
+
10
−
10
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
_bits
1
(
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
_bits
1
(
bitbuf
);
/* use packet checksum if (1) */
get
_bits
(
bitbuf
,
1
);
/* component checksums after image data if (1) */
skip
_bits
1
(
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
_bits
1
(
bitbuf
);
get
_bits
(
bitbuf
,
4
);
skip
_bits
(
bitbuf
,
4
);
get
_bits
(
bitbuf
,
1
);
skip
_bits
1
(
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
);
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment