Revision db2fcbbd

View differences:

libavcodec/flac.c
634 634
            if(metadata_size){
635 635
                switch(metadata_type)
636 636
                {
637
                case METADATA_TYPE_STREAMINFO:
637
                case METADATA_TYPE_STREAMINFO:{
638
                    int bits_count= get_bits_count(&s->gb);
639

  
638 640
                    metadata_streaminfo(s);
641
                    buf= &s->bitstream[s->bitstream_index];
642
                    init_get_bits(&s->gb, buf, buf_size*8);
643
                    skip_bits(&s->gb, bits_count);
644

  
639 645
                    dump_headers(s);
640
                    break;
646
                    break;}
641 647
                default:
642 648
                    for(i=0; i<metadata_size; i++)
643 649
                        skip_bits(&s->gb, 8);

Also available in: Unified diff