[vlc-devel] [vlc-commits] input_EsOutNew: use calloc

Rémi Denis-Courmont remi at remlab.net
Mon Mar 5 10:57:45 CET 2012


On Mon,  5 Mar 2012 10:36:40 +0100 (CET), git at videolan.org (Rafaël Carré)
wrote:
> vlc | branch: master | Rafaël Carré <funman at videolan.org> | Mon Mar  5
> 02:16:50 2012 -0500| [6eeeda913c22e1fd32107bf12bf2c7df6c2938fc] |
> committer: Rafaël Carré
> 
> input_EsOutNew: use calloc

Why? This uselessly initializes stuff that was initialized to non-zero.
Also this is not strictly correct for NULL pointers.

-- 
Rémi Denis-Courmont
Sent from my collocated server



More information about the vlc-devel mailing list