diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2015-08-02 12:40:53 +0200 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2015-08-02 12:40:53 +0200 |
commit | 9f56aceaec5c2e2acd3df91527c95d14ac910bdc (patch) | |
tree | 792217f6effd45a897976aae7b2eacb8a7e4e64a /libavcodec/opus.h | |
parent | 190e52112339c62b213d7ccb0daab5ffe387af49 (diff) | |
parent | 14e558024642638085ae2bbeffc6087612e6a3f9 (diff) | |
download | ffmpeg-9f56aceaec5c2e2acd3df91527c95d14ac910bdc.tar.gz |
Merge commit '14e558024642638085ae2bbeffc6087612e6a3f9'
* commit '14e558024642638085ae2bbeffc6087612e6a3f9':
opusdec: properly handle mismatching configurations in multichannel streams
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Diffstat (limited to 'libavcodec/opus.h')
-rw-r--r-- | libavcodec/opus.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libavcodec/opus.h b/libavcodec/opus.h index 92bb28a371..3a7ea9f504 100644 --- a/libavcodec/opus.h +++ b/libavcodec/opus.h @@ -173,6 +173,16 @@ typedef struct ChannelMap { typedef struct OpusContext { OpusStreamContext *streams; + + /* current output buffers for each streams */ + float **out; + int *out_size; + /* Buffers for synchronizing the streams when they have different + * resampling delays */ + AVAudioFifo **sync_buffers; + /* number of decoded samples for each stream */ + int *decoded_samples; + int nb_streams; int nb_stereo_streams; |