Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
59fbc36b
Commit
59fbc36b
authored
Aug 28, 2009
by
ivoire
Browse files
avcodec: fix compilation.
parent
4e48a9c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
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
Supports
Markdown
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