Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
c7255099
Commit
c7255099
authored
Apr 20, 2011
by
Konstantin Pavlov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
AVFormat mux: Don't use too new av_guess_format on older ffmpeg.
parent
5aab520d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
modules/demux/avformat/mux.c
modules/demux/avformat/mux.c
+9
-1
No files found.
modules/demux/avformat/mux.c
View file @
c7255099
...
@@ -96,12 +96,20 @@ int OpenMux( vlc_object_t *p_this )
...
@@ -96,12 +96,20 @@ int OpenMux( vlc_object_t *p_this )
psz_mux
=
var_GetNonEmptyString
(
p_mux
,
"ffmpeg-mux"
);
psz_mux
=
var_GetNonEmptyString
(
p_mux
,
"ffmpeg-mux"
);
if
(
psz_mux
)
if
(
psz_mux
)
{
{
#if( LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT( 52, 45, 0 ) )
file_oformat
=
av_guess_format
(
psz_mux
,
NULL
,
NULL
);
file_oformat
=
av_guess_format
(
psz_mux
,
NULL
,
NULL
);
#else
file_oformat
=
guess_format
(
psz_mux
,
NULL
,
NULL
);
#endif
}
}
else
else
{
{
file_oformat
=
file_oformat
=
av_guess_format
(
NULL
,
p_mux
->
p_access
->
psz_path
,
NULL
);
#if( LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT( 52, 45, 0 ) )
av_guess_format
(
NULL
,
p_mux
->
p_access
->
psz_path
,
NULL
);
#else
guess_format
(
NULL
,
p_mux
->
p_access
->
psz_path
,
NULL
);
#endif
}
}
if
(
!
file_oformat
)
if
(
!
file_oformat
)
{
{
...
...
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