[vlc-devel] [PATCH] vlc_es: add more documentation on es_format_Copy
Francois Cartegnie
fcvlcdev at free.fr
Wed Jul 12 18:04:37 CEST 2017
Le 12/07/2017 à 16:51, Steve Lhomme a écrit :
> It must copy to an unitialized structure or one that was cleaned before.
>
> The result should always be checked as there are allocations that can fail but
> it's not safe for now given the state of the rest of the code.
Conditional use will prevent API cleanup.
For unitialized struct, that should be a dedicated function (*From()).
Francois
More information about the vlc-devel
mailing list