Add request_sample_fmt field to AVCodecContext.

This will allow audio decoders to support output of different sample formats
as a runtime option.
This commit is contained in:
Justin Ruggles 2011-04-19 19:47:01 -04:00
parent 32f8fb8ecf
commit 64150ff014
3 changed files with 14 additions and 1 deletions

View file

@ -2836,6 +2836,13 @@ typedef struct AVCodecContext {
* - decoding: Set by libavcodec.
*/
enum AVAudioServiceType audio_service_type;
/**
* Used to request a sample format from the decoder.
* - encoding: unused.
* - decoding: Set by user.
*/
enum AVSampleFormat request_sample_fmt;
} AVCodecContext;
/**