Revision b88e6576 libavcodec/flac.c

View differences:

libavcodec/flac.c
60 60
    GetBitContext gb;
61 61

  
62 62
    int min_blocksize, max_blocksize;
63
    int min_framesize, max_framesize;
63
    int max_framesize;
64 64
    int samplerate, channels;
65 65
    int blocksize/*, last_blocksize*/;
66 66
    int bps, curr_bps;
......
120 120
static void dump_headers(FLACContext *s)
121 121
{
122 122
    av_log(s->avctx, AV_LOG_DEBUG, "  Blocksize: %d .. %d (%d)\n", s->min_blocksize, s->max_blocksize, s->blocksize);
123
    av_log(s->avctx, AV_LOG_DEBUG, "  Framesize: %d .. %d\n", s->min_framesize, s->max_framesize);
123
    av_log(s->avctx, AV_LOG_DEBUG, "  Max Framesize: %d\n", s->max_framesize);
124 124
    av_log(s->avctx, AV_LOG_DEBUG, "  Samplerate: %d\n", s->samplerate);
125 125
    av_log(s->avctx, AV_LOG_DEBUG, "  Channels: %d\n", s->channels);
126 126
    av_log(s->avctx, AV_LOG_DEBUG, "  Bits: %d\n", s->bps);
......
149 149
    s->min_blocksize = get_bits(&s->gb, 16);
150 150
    s->max_blocksize = get_bits(&s->gb, 16);
151 151

  
152
    s->min_framesize = get_bits_long(&s->gb, 24);
152
    skip_bits(&s->gb, 24); /* skip min frame size */
153 153
    s->max_framesize = get_bits_long(&s->gb, 24);
154 154

  
155 155
    s->samplerate = get_bits_long(&s->gb, 20);

Also available in: Unified diff