Mercurial > libavcodec.hg
comparison utils.c @ 3136:ddf6d81a6369 libavcodec
added none/8bit/24bit audio formats and defaulting to s16 for now (once the system works like pix_fmt, the defaulting should be changed to SAMPLE_FMT_NONE)
author | alex |
---|---|
date | Tue, 21 Feb 2006 22:05:13 +0000 |
parents | 961af1358c7f |
children | e1157712c1d5 |
comparison
equal
deleted
inserted
replaced
3135:41a01cea8885 | 3136:ddf6d81a6369 |
---|---|
786 s->level= FF_LEVEL_UNKNOWN; | 786 s->level= FF_LEVEL_UNKNOWN; |
787 s->me_penalty_compensation= 256; | 787 s->me_penalty_compensation= 256; |
788 s->pix_fmt= PIX_FMT_NONE; | 788 s->pix_fmt= PIX_FMT_NONE; |
789 s->frame_skip_cmp= FF_CMP_DCTMAX; | 789 s->frame_skip_cmp= FF_CMP_DCTMAX; |
790 s->nsse_weight= 8; | 790 s->nsse_weight= 8; |
791 s->sample_fmt= SAMPLE_FMT_S16; // FIXME: set to NONE | |
791 | 792 |
792 s->intra_quant_bias= FF_DEFAULT_QUANT_BIAS; | 793 s->intra_quant_bias= FF_DEFAULT_QUANT_BIAS; |
793 s->inter_quant_bias= FF_DEFAULT_QUANT_BIAS; | 794 s->inter_quant_bias= FF_DEFAULT_QUANT_BIAS; |
794 s->palctrl = NULL; | 795 s->palctrl = NULL; |
795 s->reget_buffer= avcodec_default_reget_buffer; | 796 s->reget_buffer= avcodec_default_reget_buffer; |