[FFmpeg-devel] [PATCH] lavu/hash: make all functions work gracefully with NULL.

Michael Niedermayer michaelni at gmx.at
Sun Apr 20 20:55:19 CEST 2014


On Sun, Apr 20, 2014 at 08:50:30PM +0200, Nicolas George wrote:
> More robust in case of av_hash_get_size() failing without
> error checks.
> 
> Signed-off-by: Nicolas George <george at nsup.org>
> ---
>  libavutil/hash.c |   10 ++++++++--
>  1 file changed, 8 insertions(+), 2 deletions(-)
> 
> 
> Not sure if it is a good idea, I will let other people's advice decide.

does it allow to simplify any existing code ?

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The worst form of inequality is to try to make unequal things equal.
-- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140420/d2bdfca5/attachment.asc>


More information about the ffmpeg-devel mailing list