[SCM] libav/experimental: Remove unneeded variable.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:13:07 UTC 2013


The following commit has been merged in the experimental branch:
commit fb443a6f3b3397422172df4775535673524a43da
Author: Justin Ruggles <justin.ruggles at gmail.com>
Date:   Fri Jul 30 21:27:00 2010 +0000

    Remove unneeded variable.
    
    Originally committed as revision 24610 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/flacenc.c b/libavcodec/flacenc.c
index f4e124a..1d640f9 100644
--- a/libavcodec/flacenc.c
+++ b/libavcodec/flacenc.c
@@ -1150,14 +1150,11 @@ static void output_subframe(FlacEncodeContext *s, FlacSubframe *sub)
 
 static void output_subframes(FlacEncodeContext *s)
 {
-    FlacFrame *frame;
     FlacSubframe *sub;
     int ch;
 
-    frame = &s->frame;
-
     for (ch = 0; ch < s->channels; ch++) {
-        sub = &frame->subframes[ch];
+        sub = &s->frame.subframes[ch];
 
         /* subframe header */
         put_bits(&s->pb, 1, 0);

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list