demux_lavf: more future proof AVInputFormat name comparison
commit661d909f8e0fdb9157b858e24db0c23ab61e55e9
authorUoti Urpala <uau@glyph.nonexistent.invalid>
Fri, 5 Nov 2010 10:50:11 +0000 (5 12:50 +0200)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Sat, 6 Nov 2010 21:26:21 +0000 (6 23:26 +0200)
tree2a53f9912dc5b09f7becfd264bea883da89cc5f8
parent348332af3a5404f7c9e71fd4ef571ba5fdb651cf
demux_lavf: more future proof AVInputFormat name comparison

AVInputFormat name fields consist of comma-separated components, more
of which may be added in backwards-compatible versions. demux_lavf did
a strcmp against the whole field at once; this would break if a
component was added. Change the code to search for individual
component matches within the field instead.
libmpdemux/demux_lavf.c