FFMS / ffms2

An FFmpeg based source library and Avisynth/VapourSynth plugin for easy frame accurate access
Other
588 stars 104 forks source link

ffmsindex: do not report an error when no options are supplied #169

Closed kodawah closed 10 years ago

kodawah commented 10 years ago

Hi, I am writing a homebrew formula for ffms2. Among the optional requirements there is a test section used to guarantee that the program compiled; documentation suggests that just running one of the program with version or help text is enough. However ffms2 does not come with those and even when called without parameters it returns an error state.

This patch changes that behaviour, so that running 'ffmsindex' will return 0. If you prefer I could add a -h option instead.