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
ad3aa874
Commit
ad3aa874
authored
20 years ago
by
Måns Rullgård
Browse files
Options
Downloads
Patches
Plain Diff
pre-c99 compatibility
Originally committed as revision 4116 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
a0a74ad9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
libavformat/ogg2.c
+1
-1
1 addition, 1 deletion
libavformat/ogg2.c
libavformat/ogg2.h
+1
-1
1 addition, 1 deletion
libavformat/ogg2.h
with
2 additions
and
2 deletions
libavformat/ogg2.c
+
1
−
1
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
;
...
...
This diff is collapsed.
Click to expand it.
libavformat/ogg2.h
+
1
−
1
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
{
...
...
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