Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
3c9f7013
Commit
3c9f7013
authored
Dec 29, 2007
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Backport [23204] and [23274] for building 0.8.6-bugfix branch with newer ffmpeg.
parent
c129ad42
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
modules/codec/ffmpeg/mux.c
modules/codec/ffmpeg/mux.c
+11
-3
No files found.
modules/codec/ffmpeg/mux.c
View file @
3c9f7013
...
...
@@ -132,8 +132,11 @@ int E_(OpenMux)( vlc_object_t *p_this )
free
(
p_sys
);
return
VLC_EGENERIC
;
}
#if LIBAVFORMAT_VERSION_INT >= ((52<<16)+(0<<8)+0)
p_sys
->
oc
->
pb
=
&
p_sys
->
io
;
#else
p_sys
->
oc
->
pb
=
p_sys
->
io
;
#endif
p_sys
->
oc
->
nb_streams
=
0
;
p_sys
->
b_write_header
=
VLC_TRUE
;
...
...
@@ -348,14 +351,19 @@ static int Mux( sout_mux_t *p_mux )
{
msg_Dbg
(
p_mux
,
"writing header"
);
p_sys
->
b_write_header
=
VLC_FALSE
;
if
(
av_write_header
(
p_sys
->
oc
)
<
0
)
{
msg_Err
(
p_mux
,
"could not write header"
);
p_sys
->
b_write_header
=
VLC_FALSE
;
p_sys
->
b_error
=
VLC_TRUE
;
return
VLC_EGENERIC
;
}
#if LIBAVFORMAT_VERSION_INT >= ((52<<16)+(0<<8)+0)
put_flush_packet
(
p_sys
->
oc
->
pb
);
#else
put_flush_packet
(
&
p_sys
->
oc
->
pb
);
#endif
p_sys
->
b_write_header
=
VLC_FALSE
;
}
for
(
;;
)
...
...
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