aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/ffmpeg_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-04 16:55:12 +0100
committerMax Kellermann <max@duempel.org>2008-11-04 16:55:12 +0100
commit292334a27a4327ada969d2cbe390e86cb3193c9d (patch)
tree03750a702ef7df3afaf8f66d54215e7127d86437 /src/decoder/ffmpeg_plugin.c
parent7e84c73b17b2230a49fe51dc09f4e3b85fa9d8a7 (diff)
downloadmpd-292334a27a4327ada969d2cbe390e86cb3193c9d.tar.gz
mpd-292334a27a4327ada969d2cbe390e86cb3193c9d.tar.xz
mpd-292334a27a4327ada969d2cbe390e86cb3193c9d.zip
ffmpeg: removed ffmpeg_context.codec
That variable is never used except during initialization in ffmpeg_helper().
Diffstat (limited to '')
-rw-r--r--src/decoder/ffmpeg_plugin.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/decoder/ffmpeg_plugin.c b/src/decoder/ffmpeg_plugin.c
index 71958b77b..63d158349 100644
--- a/src/decoder/ffmpeg_plugin.c
+++ b/src/decoder/ffmpeg_plugin.c
@@ -44,7 +44,6 @@ struct ffmpeg_context {
int audio_stream;
AVFormatContext *format_context;
AVCodecContext *codec_context;
- AVCodec *codec;
struct decoder *decoder;
struct input_stream *input;
struct tag *tag;
@@ -196,7 +195,6 @@ ffmpeg_helper(struct input_stream *input,
ctx->audio_stream = audio_stream;
ctx->format_context = format_context;
ctx->codec_context = codec_context;
- ctx->codec = codec;
ret = callback(ctx);
} else