[vlc-devel] [PATCH 1/1] [transcode] Fix allocation of picture_t without full initialization

David Flynn davidf+nntp at woaf.net
Tue Nov 4 18:46:43 CET 2008


On 2008-11-04, David Flynn <davidf+nntp at woaf.net> wrote:
> +    p_pic = picture_New( p_dec->fmt_out.video.i_chroma,
> -    vout_AllocatePicture( VLC_OBJECT(p_dec), p_pic,

Note, that in using picture_New, you loose the ability to do
VLC_OBJECT(p_dec).

..david




More information about the vlc-devel mailing list