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
a6ebc7d7
Commit
a6ebc7d7
authored
Jan 29, 2012
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat: put_flush_packet was renamed some time ago
parent
55c0636c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
modules/demux/avformat/mux.c
modules/demux/avformat/mux.c
+7
-2
No files found.
modules/demux/avformat/mux.c
View file @
a6ebc7d7
...
...
@@ -39,6 +39,11 @@
#include "../../codec/avcodec/avcodec.h"
#include "../../codec/avcodec/avutil.h"
/* Support for deprecated APIs */
#if LIBAVFORMAT_VERSION_INT < ((52<<16)+(105<<8)+0)
# define avio_flush put_flush_packet
#endif
//#define AVFORMAT_DEBUG 1
static
const
char
*
const
ppsz_mux_options
[]
=
{
...
...
@@ -365,9 +370,9 @@ static int Mux( sout_mux_t *p_mux )
}
#if LIBAVFORMAT_VERSION_INT >= ((52<<16)+(0<<8)+0)
put_flush_packet
(
p_sys
->
oc
->
pb
);
avio_flush
(
p_sys
->
oc
->
pb
);
#else
put_flush_packet
(
&
p_sys
->
oc
->
pb
);
avio_flush
(
&
p_sys
->
oc
->
pb
);
#endif
p_sys
->
b_write_header
=
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