[FFmpeg-cvslog] r24610 - trunk/libavcodec/flacenc.c

jbr subversion
Fri Jul 30 23:27:00 CEST 2010


Author: jbr
Date: Fri Jul 30 23:27:00 2010
New Revision: 24610

Log:
Remove unneeded variable.

Modified:
   trunk/libavcodec/flacenc.c

Modified: trunk/libavcodec/flacenc.c
==============================================================================
--- trunk/libavcodec/flacenc.c	Fri Jul 30 23:07:21 2010	(r24609)
+++ trunk/libavcodec/flacenc.c	Fri Jul 30 23:27:00 2010	(r24610)
@@ -1150,14 +1150,11 @@ static void output_subframe(FlacEncodeCo
 
 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);



More information about the ffmpeg-cvslog mailing list