Commit 2a2e719d authored by Rafaël Carré's avatar Rafaël Carré Committed by Rémi Denis-Courmont

avcodec: remove dummy EndSubtitleDec

Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent a725a1cf
...@@ -355,9 +355,6 @@ static void CloseDecoder( vlc_object_t *p_this ) ...@@ -355,9 +355,6 @@ static void CloseDecoder( vlc_object_t *p_this )
case VIDEO_ES: case VIDEO_ES:
EndVideoDec ( p_dec ); EndVideoDec ( p_dec );
break; break;
case SPU_ES:
EndSubtitleDec( p_dec );
break;
} }
if( p_sys->p_context ) if( p_sys->p_context )
......
...@@ -59,7 +59,6 @@ int InitAudioDec( decoder_t *p_dec, AVCodecContext *p_context, ...@@ -59,7 +59,6 @@ int InitAudioDec( decoder_t *p_dec, AVCodecContext *p_context,
/* Subtitle Decoder */ /* Subtitle Decoder */
int InitSubtitleDec( decoder_t *p_dec, AVCodecContext *p_context, int InitSubtitleDec( decoder_t *p_dec, AVCodecContext *p_context,
AVCodec *p_codec, int i_codec_id, const char *psz_namecodec ); AVCodec *p_codec, int i_codec_id, const char *psz_namecodec );
void EndSubtitleDec( decoder_t *p_dec );
/* Initialize decoder */ /* Initialize decoder */
int ffmpeg_OpenCodec( decoder_t *p_dec ); int ffmpeg_OpenCodec( decoder_t *p_dec );
......
...@@ -169,14 +169,6 @@ subpicture_t *DecodeSubtitle(decoder_t *dec, block_t **block_ptr) ...@@ -169,14 +169,6 @@ subpicture_t *DecodeSubtitle(decoder_t *dec, block_t **block_ptr)
return spu; return spu;
} }
/**
* Clean up private data
*/
void EndSubtitleDec(decoder_t *dec)
{
VLC_UNUSED(dec);
}
/** /**
* Convert a RGBA libavcodec region to our format. * Convert a RGBA libavcodec region to our format.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment