~vcs-imports/mplayer/trunk

Viewing all changes in revision 38158.

  • Committer: al
  • Date: 2021-05-14 20:26:55 UTC
  • Revision ID: svn-v4:b3059339-0415-0410-9bf9-f77b7e298cf2:trunk:38313
libmpdemux/demux_mf: Don't crash if no paths were selected

If open_mf in demux_open_mf returns an object with zero paths:
Return directly without returning a demuxer object.

Previously we segfaulted e.g. when trying to access the first
path to guess its file type.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: