Mercurial > libavcodec.hg
changeset 12313:c1918adb174b libavcodec
Remove unneeded variable.
author | jbr |
---|---|
date | Fri, 30 Jul 2010 21:27:00 +0000 |
parents | 4f7ed0667a27 |
children | 46b00f7710da |
files | flacenc.c |
diffstat | 1 files changed, 1 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/flacenc.c Fri Jul 30 21:07:21 2010 +0000 +++ b/flacenc.c Fri Jul 30 21:27:00 2010 +0000 @@ -1150,14 +1150,11 @@ 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);