diff 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
line wrap: on
line diff
--- a/utils.c	Tue Feb 21 00:03:10 2006 +0000
+++ b/utils.c	Tue Feb 21 22:05:13 2006 +0000
@@ -788,6 +788,7 @@
     s->pix_fmt= PIX_FMT_NONE;
     s->frame_skip_cmp= FF_CMP_DCTMAX;
     s->nsse_weight= 8;
+    s->sample_fmt= SAMPLE_FMT_S16; // FIXME: set to NONE
 
     s->intra_quant_bias= FF_DEFAULT_QUANT_BIAS;
     s->inter_quant_bias= FF_DEFAULT_QUANT_BIAS;