summaryrefslogtreecommitdiffstats
path: root/libavcodec/kgv1dec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-01-08 20:15:22 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-01-08 20:17:23 +0100
commit1a0370ad94de094a5ac754e790d4ec8d8d0d9ee7 (patch)
tree49be37692817af615193926d77a8679990018974 /libavcodec/kgv1dec.c
parentc8c7736c1025bcf5bb27e104a0d0eae749408739 (diff)
downloadffmpeg-streaming-1a0370ad94de094a5ac754e790d4ec8d8d0d9ee7.zip
ffmpeg-streaming-1a0370ad94de094a5ac754e790d4ec8d8d0d9ee7.tar.gz
avcodec/kgv1dec: remove unused function and variable
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/kgv1dec.c')
-rw-r--r--libavcodec/kgv1dec.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/libavcodec/kgv1dec.c b/libavcodec/kgv1dec.c
index ea1ca9a..0c58bad 100644
--- a/libavcodec/kgv1dec.c
+++ b/libavcodec/kgv1dec.c
@@ -162,19 +162,11 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
static av_cold int decode_init(AVCodecContext *avctx)
{
- KgvContext * const c = avctx->priv_data;
-
avctx->pix_fmt = AV_PIX_FMT_RGB555;
return 0;
}
-static av_cold int decode_end(AVCodecContext *avctx)
-{
- KgvContext * const c = avctx->priv_data;
- return 0;
-}
-
AVCodec ff_kgv1_decoder = {
.name = "kgv1",
.long_name = NULL_IF_CONFIG_SMALL("Kega Game Video"),
@@ -182,7 +174,6 @@ AVCodec ff_kgv1_decoder = {
.id = AV_CODEC_ID_KGV1,
.priv_data_size = sizeof(KgvContext),
.init = decode_init,
- .close = decode_end,
.decode = decode_frame,
.flush = decode_flush,
.capabilities = CODEC_CAP_DR1,
OpenPOWER on IntegriCloud