diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2010-07-30 21:27:00 +0000 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2010-07-30 21:27:00 +0000 |
commit | fb443a6f3b3397422172df4775535673524a43da (patch) | |
tree | 82fb7da17044182b51bd9df41f6cc692b900b837 | |
parent | 724f34716b60306f5bb1aa626ea036f8b826e6c4 (diff) | |
download | ffmpeg-fb443a6f3b3397422172df4775535673524a43da.tar.gz |
Remove unneeded variable.
Originally committed as revision 24610 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/flacenc.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libavcodec/flacenc.c b/libavcodec/flacenc.c index f4e124acc0..1d640f9287 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); |