Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
768c27bf
Commit
768c27bf
authored
Oct 31, 2005
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/codec/ffmpeg/encoder.c: fmt_out.p_extra needs to be malloc()ed.
parent
b0d6d5d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
modules/codec/ffmpeg/encoder.c
modules/codec/ffmpeg/encoder.c
+6
-1
No files found.
modules/codec/ffmpeg/encoder.c
View file @
768c27bf
...
@@ -601,7 +601,12 @@ int E_(OpenEncoder)( vlc_object_t *p_this )
...
@@ -601,7 +601,12 @@ int E_(OpenEncoder)( vlc_object_t *p_this )
vlc_mutex_unlock
(
lockval
.
p_address
);
vlc_mutex_unlock
(
lockval
.
p_address
);
p_enc
->
fmt_out
.
i_extra
=
p_context
->
extradata_size
;
p_enc
->
fmt_out
.
i_extra
=
p_context
->
extradata_size
;
p_enc
->
fmt_out
.
p_extra
=
p_context
->
extradata
;
if
(
p_enc
->
fmt_out
.
i_extra
)
{
p_enc
->
fmt_out
.
p_extra
=
malloc
(
p_enc
->
fmt_out
.
i_extra
);
memcpy
(
p_enc
->
fmt_out
.
p_extra
,
p_context
->
extradata
,
p_enc
->
fmt_out
.
i_extra
);
}
p_context
->
flags
&=
~
CODEC_FLAG_GLOBAL_HEADER
;
p_context
->
flags
&=
~
CODEC_FLAG_GLOBAL_HEADER
;
if
(
p_enc
->
fmt_in
.
i_cat
==
AUDIO_ES
)
if
(
p_enc
->
fmt_in
.
i_cat
==
AUDIO_ES
)
...
...
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