[vlc-devel] [PATCH 2/3] preparser: Don't ignore input_preparser_Push errors

Rémi Denis-Courmont remi at remlab.net
Mon Nov 16 16:01:46 CET 2020


Le vendredi 13 novembre 2020, 15:07:03 EET Hugo Beauzée-Luyssen a écrit :
> ---
>  src/libvlc.c              | 5 ++---
>  src/preparser/preparser.c | 9 +++++----
>  src/preparser/preparser.h | 5 ++++-
>  3 files changed, 11 insertions(+), 8 deletions(-)

Is it possible to eliminate the error altogether?

I've said it before, but errors that cause event not to happen should be 
avoided at all costs. Way too high risk of breaking the caller.

-- 
Rémi Denis-Courmont




More information about the vlc-devel mailing list