comparison rv10.c @ 2370:26560d4fdb1f libavcodec

Memory leak fix patch by (Burkhard Plaum <plaum >at< ipf.uni-stuttgart )dot( de>)
author michael
date Sat, 27 Nov 2004 18:10:06 +0000
parents a3c029107a88
children ed9bb4a45afa
comparison
equal deleted inserted replaced
2369:ce47b1d51cb1 2370:26560d4fdb1f
516 516
517 /* init rv vlc */ 517 /* init rv vlc */
518 if (!done) { 518 if (!done) {
519 init_vlc(&rv_dc_lum, DC_VLC_BITS, 256, 519 init_vlc(&rv_dc_lum, DC_VLC_BITS, 256,
520 rv_lum_bits, 1, 1, 520 rv_lum_bits, 1, 1,
521 rv_lum_code, 2, 2); 521 rv_lum_code, 2, 2, 1);
522 init_vlc(&rv_dc_chrom, DC_VLC_BITS, 256, 522 init_vlc(&rv_dc_chrom, DC_VLC_BITS, 256,
523 rv_chrom_bits, 1, 1, 523 rv_chrom_bits, 1, 1,
524 rv_chrom_code, 2, 2); 524 rv_chrom_code, 2, 2, 1);
525 done = 1; 525 done = 1;
526 } 526 }
527 527
528 avctx->pix_fmt = PIX_FMT_YUV420P; 528 avctx->pix_fmt = PIX_FMT_YUV420P;
529 529