[vlc-devel] commit: input_item_SetURI(): add a NDEBUG printf check for paths. ( Derk-Jan Hartman )
hartman at videolan.org
Wed Jun 24 16:28:19 CEST 2009
On 24 jun 2009, at 16:24, git version control wrote:
> vlc | branch: master | Derk-Jan Hartman <hartman at videolan.org> | Wed
> Jun 24 16:22:29 2009 +0200|
> [69d1ac0a4b2238be242184ceeac92b5b6f623368] | committer: Derk-Jan
> input_item_SetURI(): add a NDEBUG printf check for paths.
> When it is called with strings that contain " " or '\' or don't
> have ://, we have an indication that the caller is likely providing
> a path. This will help us find these cases in the future.
And yes I know that uri's without :// are valid, i'm just rather sure
that atm, almost all of those cases are actually paths. When the pool
gets somewhat smaller, we can remove that part of the check again.
More information about the vlc-devel