aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/flac.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2008-04-29 01:29:35 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2008-04-29 01:29:35 +0000
commitb88e657628062492aacea9bfc200a3f61649ec43 (patch)
treeeeea13d03c88ad766a240bd5856d09790b1fc286 /libavcodec/flac.c
parentb22d0c04d76a5a3391051f0a7d573d8f9bdef4b3 (diff)
downloadffmpeg-b88e657628062492aacea9bfc200a3f61649ec43.tar.gz
remove unused variable, min_framesize
Originally committed as revision 13015 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/flac.c')
-rw-r--r--libavcodec/flac.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/flac.c b/libavcodec/flac.c
index bebed036a7..b849e7fd01 100644
--- a/libavcodec/flac.c
+++ b/libavcodec/flac.c
@@ -60,7 +60,7 @@ typedef struct FLACContext {
GetBitContext gb;
int min_blocksize, max_blocksize;
- int min_framesize, max_framesize;
+ int max_framesize;
int samplerate, channels;
int blocksize/*, last_blocksize*/;
int bps, curr_bps;
@@ -120,7 +120,7 @@ static av_cold int flac_decode_init(AVCodecContext * avctx)
static void dump_headers(FLACContext *s)
{
av_log(s->avctx, AV_LOG_DEBUG, " Blocksize: %d .. %d (%d)\n", s->min_blocksize, s->max_blocksize, s->blocksize);
- av_log(s->avctx, AV_LOG_DEBUG, " Framesize: %d .. %d\n", s->min_framesize, s->max_framesize);
+ av_log(s->avctx, AV_LOG_DEBUG, " Max Framesize: %d\n", s->max_framesize);
av_log(s->avctx, AV_LOG_DEBUG, " Samplerate: %d\n", s->samplerate);
av_log(s->avctx, AV_LOG_DEBUG, " Channels: %d\n", s->channels);
av_log(s->avctx, AV_LOG_DEBUG, " Bits: %d\n", s->bps);
@@ -149,7 +149,7 @@ static void metadata_streaminfo(FLACContext *s)
s->min_blocksize = get_bits(&s->gb, 16);
s->max_blocksize = get_bits(&s->gb, 16);
- s->min_framesize = get_bits_long(&s->gb, 24);
+ skip_bits(&s->gb, 24); /* skip min frame size */
s->max_framesize = get_bits_long(&s->gb, 24);
s->samplerate = get_bits_long(&s->gb, 20);