avcodec/opusdec: Move per-stream fields to OpusStreamContext
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Mon, 28 Dec 2020 16:46:44 +0000 (17:46 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Thu, 31 Dec 2020 22:23:03 +0000 (23:23 +0100)
commitf03eade8690d9914fce574afb1795f16c036bb6b
treef5c52528dbc16290b63aaa8ff6135838b0f1e797
parent794fb18369be7dae9f9844c83040bb06611ff890
avcodec/opusdec: Move per-stream fields to OpusStreamContext

Besides being more natural it also avoids allocations for separate
arrays of decoded samples/output buffers/....

Reviewed-by: Lynne <dev@lynne.ee>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/opus.h
libavcodec/opusdec.c