mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-26 04:50:25 +00:00
Allow decoders to correctly set the sample format by defaulting to
SAMPLE_FMT_NONE in avcodec_get_context_defaults2. Originally committed as revision 20623 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
14b903f389
commit
0bf095a837
@ -437,7 +437,7 @@ void avcodec_get_context_defaults2(AVCodecContext *s, enum CodecType codec_type)
|
||||
s->execute2= avcodec_default_execute2;
|
||||
s->sample_aspect_ratio= (AVRational){0,1};
|
||||
s->pix_fmt= PIX_FMT_NONE;
|
||||
s->sample_fmt= SAMPLE_FMT_S16; // FIXME: set to NONE
|
||||
s->sample_fmt= SAMPLE_FMT_NONE;
|
||||
|
||||
s->palctrl = NULL;
|
||||
s->reget_buffer= avcodec_default_reget_buffer;
|
||||
|
Loading…
Reference in New Issue
Block a user