Changes in / [3d5c0ba8:7a7b77e6] in ffmpeg
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libavcodec/vorbisdec.c
r3d5c0ba8 r7a7b77e6 380 380 381 381 // Weed out unused vlcs and build codevector vector 382 codebook_setup->codevectors = used_entries ? av_mallocz_array(used_entries, 383 codebook_setup->dimensions * 384 sizeof(*codebook_setup->codevectors)) 385 : NULL; 382 if (used_entries) { 383 codebook_setup->codevectors = 384 av_mallocz_array(used_entries, codebook_setup->dimensions * 385 sizeof(*codebook_setup->codevectors)); 386 if (!codebook_setup->codevectors) 387 return AVERROR(ENOMEM); 388 } else 389 codebook_setup->codevectors = NULL; 390 386 391 for (j = 0, i = 0; i < entries; ++i) { 387 392 unsigned dim = codebook_setup->dimensions;
Note:
See TracChangeset
for help on using the changeset viewer.