Revision 55aa55f2 libavcodec/vorbis_dec.c

View differences:

libavcodec/vorbis_dec.c
667 667
        res_setup->classifs = av_malloc(res_setup->ptns_to_read *
668 668
                                        vc->audio_channels *
669 669
                                        sizeof(*res_setup->classifs));
670
        if (!res_setup->classifs)
671
            return AVERROR(ENOMEM);
670 672

  
671 673
        AV_DEBUG("    begin %d end %d part.size %d classif.s %d classbook %d \n", res_setup->begin, res_setup->end, res_setup->partition_size,
672 674
          res_setup->classifications, res_setup->classbook);

Also available in: Unified diff