<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jun 21, 2014 at 10:54 AM, Rémi Denis-Courmont <span dir="ltr"><<a href="mailto:remi@remlab.net" target="_blank">remi@remlab.net</a>></span> wrote:</div>
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I would define a callback that just returns an error instead of checking for<br>
NULL. It can even be used for all cases, but I guess that's a matter of taste:<br>
<br>
int AStreamGenericError(/* ... */)<br>
{<br>
return VLC_EGENERIC;<br>
<div class="">}<br></div></blockquote><div><br></div><div><br></div><div>Developpers don't like NULL pointers just as nature doesn't like void. I can relate to that. I'll fix this.</div></div></div></div>