diff options
author | wm4 <wm4@nowhere> | 2013-04-14 20:53:03 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-04-20 23:28:25 +0200 |
commit | 1e53b78b32ba342a201159afb24d43decf78ba08 (patch) | |
tree | 69955e7d2d2319f682cae54877589899dd7ef7a5 /core | |
parent | 7f304a72a9fe34756e5baf4ec7cb0d60c5e8a9da (diff) | |
download | mpv-1e53b78b32ba342a201159afb24d43decf78ba08.tar.bz2 mpv-1e53b78b32ba342a201159afb24d43decf78ba08.tar.xz |
demux_lavf: simplify
This removes the stream handling mess by using a single list for all
stream types.
One consequence is that new streams are always set to AVDISCARD_ALL,
which could be an issue if packets are read before initializing other
streams. However, this doesn't seem to an issue for various reasons,
so we don't do anything about it.
The new code strictly assumes that libavformat never removes or
reorders streams once added to AVFormatContext->streams. Undefined
behavior will result if it does.
Diffstat (limited to 'core')
0 files changed, 0 insertions, 0 deletions