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
ad3aa874
Commit
ad3aa874
authored
Apr 09, 2005
by
Måns Rullgård
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pre-c99 compatibility
Originally committed as revision 4116 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
a0a74ad9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ogg2.c
libavformat/ogg2.c
+1
-1
ogg2.h
libavformat/ogg2.h
+1
-1
No files found.
libavformat/ogg2.c
View file @
ad3aa874
...
...
@@ -80,7 +80,7 @@ ogg_save (AVFormatContext * s)
{
ogg_t
*
ogg
=
s
->
priv_data
;
ogg_state_t
*
ost
=
av_malloc
(
sizeof
(
*
ost
)
+
ogg
->
nstreams
*
sizeof
(
*
ogg
->
streams
));
av_malloc
(
sizeof
(
*
ost
)
+
(
ogg
->
nstreams
-
1
)
*
sizeof
(
*
ogg
->
streams
));
int
i
;
ost
->
pos
=
url_ftell
(
&
s
->
pb
);;
ost
->
curidx
=
ogg
->
curidx
;
...
...
libavformat/ogg2.h
View file @
ad3aa874
...
...
@@ -55,7 +55,7 @@ typedef struct ogg_state {
uint64_t
pos
;
int
curidx
;
struct
ogg_state
*
next
;
ogg_stream_t
streams
[];
ogg_stream_t
streams
[
1
];
}
ogg_state_t
;
typedef
struct
ogg
{
...
...
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