rtmpdump 2.2d different 'swfVfy requires an argument' text

David Woodhouse dwmw2 at infradead.org
Thu May 27 19:19:34 EDT 2010


On Fri, 2010-05-28 at 00:07 +0100, Stuart Henderson wrote:
> 
> rtmpdump 2.2d uses different text in its error when you try and
> use swfVfy without an argument, so the regex test fails.
> 
> $ rtmpdump --swfVfy 2>&1 | head -3 
> RTMPDump v2.2d
> (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
> rtmpdump: option requires an argument -- swfVfy

The problem is that the error message doesn't actually come from
rtmpdump -- it comes from the getopt() library function. Which varies
from system to system... I'm guessing yours is a BSD of some kind?

> here's a diff which makes things a bit more robust, it could do
> with checking against older rtmpdump if someone has a copy handy.

Yeah, that looks much saner. Applied; thanks.

-- 
dwmw2




More information about the get_iplayer mailing list