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
d9dd7a0d
Commit
d9dd7a0d
authored
Jul 23, 2005
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor user data reading bugfix
Originally committed as revision 4467 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
f2d9a9f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
h263.c
libavcodec/h263.c
+4
-6
No files found.
libavcodec/h263.c
View file @
d9dd7a0d
...
@@ -5742,13 +5742,11 @@ static int decode_user_data(MpegEncContext *s, GetBitContext *gb){
...
@@ -5742,13 +5742,11 @@ static int decode_user_data(MpegEncContext *s, GetBitContext *gb){
int
ver
,
build
,
ver2
,
ver3
;
int
ver
,
build
,
ver2
,
ver3
;
char
last
;
char
last
;
buf
[
0
]
=
show_bits
(
gb
,
8
);
for
(
i
=
0
;
i
<
255
;
i
++
){
for
(
i
=
1
;
i
<
256
;
i
++
){
if
(
show_bits
(
gb
,
23
)
==
0
)
break
;
buf
[
i
]
=
show_bits
(
gb
,
16
)
&
0xFF
;
buf
[
i
]
=
get_bits
(
gb
,
8
);
if
(
buf
[
i
]
==
0
)
break
;
skip_bits
(
gb
,
8
);
}
}
buf
[
255
]
=
0
;
buf
[
i
]
=
0
;
/* divx detection */
/* divx detection */
e
=
sscanf
(
buf
,
"DivX%dBuild%d%c"
,
&
ver
,
&
build
,
&
last
);
e
=
sscanf
(
buf
,
"DivX%dBuild%d%c"
,
&
ver
,
&
build
,
&
last
);
...
...
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