[FFmpeg-cvslog] nutdec: Remove unused variables

Timothy Gu git at videolan.org
Fri Feb 6 20:45:20 CET 2015


ffmpeg | branch: master | Timothy Gu <timothygu99 at gmail.com> | Thu Feb  5 23:06:44 2015 -0800| [510b39c2137b79829294361c1ffece06e89e5fa6] | committer: Michael Niedermayer

nutdec: Remove unused variables

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=510b39c2137b79829294361c1ffece06e89e5fa6
---

 libavformat/nutenc.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/libavformat/nutenc.c b/libavformat/nutenc.c
index 3146f89..c335e64 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) {



More information about the ffmpeg-cvslog mailing list