diff options
author | wm4 <wm4@nowhere> | 2013-07-07 23:54:11 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-07-07 23:54:11 +0200 |
commit | af0c41e162725b0edcd6c3d066a2dbef05a3b896 (patch) | |
tree | 607f2aa997815accec54e838cde124df845c7f38 /demux/demux_lavf.c | |
parent | 8781e5a55c5f250e7c637a4cc9c4d8f91b227314 (diff) | |
download | mpv-af0c41e162725b0edcd6c3d066a2dbef05a3b896.tar.bz2 mpv-af0c41e162725b0edcd6c3d066a2dbef05a3b896.tar.xz |
Remove old demuxers
Delete demux_avi, demux_asf, demux_mpg, demux_ts. libavformat does
better than them (except in rare corner cases), and the demuxers have
a bad influence on the rest of the code. Often they don't output
proper packets, and require additional audio and video parsing. Most
work only in --no-correct-pts mode.
Remove them to facilitate further cleanups.
Diffstat (limited to 'demux/demux_lavf.c')
-rw-r--r-- | demux/demux_lavf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demux/demux_lavf.c b/demux/demux_lavf.c index 39e1cb28c5..466ab7537b 100644 --- a/demux/demux_lavf.c +++ b/demux/demux_lavf.c @@ -510,7 +510,7 @@ static demuxer_t *demux_open_lavf(demuxer_t *demuxer) if (opts->user_correct_pts != 0) avfc->flags |= AVFMT_FLAG_GENPTS; } - if (index_mode == 0) + if (opts->index_mode == 0) avfc->flags |= AVFMT_FLAG_IGNIDX; if (lavfdopts->probesize) { |