demux_lavf: fix check for files lavf doesn't recognize
commitdcaad783b049c311fe253ffa4f7ae405af4716c7
authorUoti Urpala <uau@glyph.nonexistent.invalid>
Wed, 17 Nov 2010 19:47:56 +0000 (17 21:47 +0200)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Wed, 17 Nov 2010 19:47:56 +0000 (17 21:47 +0200)
tree982e50b7bea1792e0a339ddacea9f27fdc5b3f8c
parentb82f82fe0830e55c1c3393449fa0cc9160d82105
demux_lavf: fix check for files lavf doesn't recognize

Commit 91ea30c585 ("demux_lavf: use lavf for all formats except those
listed") broke handling of files whose type libavformat couldn't
recognize at all. Fix the demux_lavf probe function to correctly
return failure in that case.
libmpdemux/demux_lavf.c