[vlc-devel] [Patch] Send an event even when snapshot failed

Hugo Beauzee-Luyssen beauze.h at gmail.com
Mon Jan 18 10:07:59 CET 2010


On Mon, Jan 18, 2010 at 5:51 AM, Rafaël Carré <rafael.carre at gmail.com> wrote:
> Le 18/01/10 01:34, Hugo Beauzee-Luyssen a écrit :
>
>> I know the string "(null)" is kinda dirty
>
> printf("%s\n", NULL); shows "(null") with glibc and OSX' libc, but
> crashes when using other libcs so it's not correct.
>

I'm not sure I understand what you mean, is your point to say that
using a NULL pointer to notify the snapshot failure is wrong ?
In that case what do you offer as an alternative ? I really don't feel
like returning "invalid-snapshot" as snapshot filename.

Regards,


-- 
Hugo Beauzée-Luyssen



More information about the vlc-devel mailing list