diff options
author | Timothy Gu <timothygu99@gmail.com> | 2015-02-06 10:06:44 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-02-06 22:44:36 +0300 |
commit | 510b39c2137b79829294361c1ffece06e89e5fa6 (patch) | |
tree | dc1c1bc1fc12d7e5fca5a77fdd98798dfd8586bc /libavformat | |
parent | e66a187638414874ceea4bf6809a61b1463afc5a (diff) |
nutdec: Remove unused variables
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/nutenc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/nutenc.c b/libavformat/nutenc.c index 3146f8927f..c335e6455a 100644 --- a/libavformat/nutenc.c +++ b/libavformat/nutenc.c @@ -168,7 +168,6 @@ static void build_frame_code(AVFormatContext *s) int start2 = start + (end - start) * stream_id / s->nb_streams; int end2 = start + (end - start) * (stream_id + 1) / s->nb_streams; AVCodecContext *codec = s->streams[stream_id]->codec; - const AVCodecDescriptor *desc = avcodec_descriptor_get(codec->codec_id); int is_audio = codec->codec_type == AVMEDIA_TYPE_AUDIO; int intra_only = /*codec->intra_only || */ is_audio; int pred_count; @@ -420,7 +419,6 @@ static int write_streamheader(AVFormatContext *avctx, AVIOContext *bc, { NUTContext *nut = avctx->priv_data; AVCodecContext *codec = st->codec; - const AVCodecDescriptor *desc = avcodec_descriptor_get(codec->codec_id); ff_put_v(bc, i); switch (codec->codec_type) { |