Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
1828f4b9
Commit
1828f4b9
authored
Nov 23, 2007
by
Jean-Paul Saman
Browse files
Compile fix to check for ffmpeg version.
parent
4e0a6553
Changes
1
Hide whitespace changes
Inline
Side-by-side
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
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment