summaryrefslogtreecommitdiffstats
path: root/core/command.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-04-14 20:53:03 +0200
committerwm4 <wm4@nowhere>2013-04-20 23:28:25 +0200
commit1e53b78b32ba342a201159afb24d43decf78ba08 (patch)
tree69955e7d2d2319f682cae54877589899dd7ef7a5 /core/command.c
parent7f304a72a9fe34756e5baf4ec7cb0d60c5e8a9da (diff)
downloadmpv-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/command.c')
0 files changed, 0 insertions, 0 deletions