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
2d2f443d
Commit
2d2f443d
authored
Apr 10, 2005
by
Måns Rullgård
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
s/u_char/uint8_t/
Originally committed as revision 4120 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
f5a71928
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ogg2.c
libavformat/ogg2.c
+3
-3
No files found.
libavformat/ogg2.c
View file @
2d2f443d
...
...
@@ -149,7 +149,7 @@ ogg_reset (ogg_t * ogg)
}
static
ogg_codec_t
*
ogg_find_codec
(
u
_char
*
buf
,
int
size
)
ogg_find_codec
(
u
int8_t
*
buf
,
int
size
)
{
int
i
;
...
...
@@ -283,7 +283,7 @@ ogg_read_page (AVFormatContext * s, int *str)
}
if
(
os
->
bufsize
-
os
->
bufpos
<
size
){
u
_char
*
nb
=
av_malloc
(
os
->
bufsize
*=
2
);
u
int8_t
*
nb
=
av_malloc
(
os
->
bufsize
*=
2
);
memset
(
nb
,
0
,
os
->
bufsize
);
memcpy
(
nb
,
os
->
buf
,
os
->
bufpos
);
av_free
(
os
->
buf
);
...
...
@@ -358,7 +358,7 @@ ogg_packet (AVFormatContext * s, int *str)
}
if
(
!
complete
&&
os
->
segp
==
os
->
nsegs
){
u
_char
*
nb
=
av_malloc
(
os
->
bufsize
);
u
int8_t
*
nb
=
av_malloc
(
os
->
bufsize
);
int
size
=
os
->
bufpos
-
os
->
pstart
;
memset
(
nb
,
0
,
os
->
bufsize
);
memcpy
(
nb
,
os
->
buf
+
os
->
pstart
,
size
);
...
...
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