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)
Originally committed as revision 5045 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
33f5e2ec3e
commit
1319a77b01
2 changed files with 6 additions and 2 deletions
|
@ -788,6 +788,7 @@ void avcodec_get_context_defaults(AVCodecContext *s){
|
|||
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue