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
59fbc36b
Commit
59fbc36b
authored
Aug 28, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec: fix compilation.
parent
4e48a9c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
modules/codec/avcodec/avcodec.c
modules/codec/avcodec/avcodec.c
+5
-4
No files found.
modules/codec/avcodec/avcodec.c
View file @
59fbc36b
...
...
@@ -44,16 +44,15 @@
# include <avcodec.h>
#endif
#include "avcodec.h"
#include "avutil.h"
#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT( 51, 48, 0 )
# error You must update libavcodec to a version >= 51.48.0
#elif LIBAVCODEC_VERSION_INT < AV_VERSION_INT( 52, 25, 0 )
# warning You should update libavcodec to get subtitle support
#endif
#include "avcodec.h"
#include "avutil.h"
/*****************************************************************************
* decoder_sys_t: decoder descriptor
*****************************************************************************/
...
...
@@ -315,9 +314,11 @@ static void CloseDecoder( vlc_object_t *p_this )
case
VIDEO_ES
:
EndVideoDec
(
p_dec
);
break
;
#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 52, 25, 0 )
case
SPU_ES
:
EndSubtitleDec
(
p_dec
);
break
;
#endif
}
if
(
p_sys
->
p_context
)
...
...
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