Mercurial > mplayer.hg
comparison m_struct.c @ 37104:91b00a4407cd
demux_real: Improve buffer allocation for interleaved audio handling.
Allocate buffers where they are needed.
This avoids code duplication, allocating them when they are not
needed, and might avoid a crash if an audio stream is specified
via -aid that does not exist in the headers but does exist in the
file since then we might run the deinterleaving without having
the buffers allocated first (note: I have not tested this can
actually happen).
| author | reimar |
|---|---|
| date | Tue, 13 May 2014 21:06:38 +0000 |
| parents | 389d43c448b3 |
| children |
comparison
equal
deleted
inserted
replaced
| 37103:bc3d67969fcc | 37104:91b00a4407cd |
|---|
