Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
1828f4b9
Commit
1828f4b9
authored
Nov 23, 2007
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compile fix to check for ffmpeg version.
parent
4e0a6553
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
modules/codec/ffmpeg/mux.c
modules/codec/ffmpeg/mux.c
+8
-0
No files found.
modules/codec/ffmpeg/mux.c
View file @
1828f4b9
...
...
@@ -148,7 +148,11 @@ int E_(OpenMux)( vlc_object_t *p_this )
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
;
...
...
@@ -394,7 +398,11 @@ static int Mux( sout_mux_t *p_mux )
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
;
}
...
...
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