[vlc-devel] vlc: svn commit r18958 (fenrir)

Subversion daemon svn at videolan.org
Thu Feb 22 21:43:29 CET 2007

r18958 | fenrir | 2007-02-22 21:43:28 +0100 (Thu, 22 Feb 2007) | 11 lines
Changed paths:
   M /trunk/src/video_output/vout_subpictures.c

Fixed subtitle/osd memory leaks (subpicture_region_t->psz_text was not freed).

 I think we have a potential bug with the way subpicture_region_t->p_style
is used.
 Decoders allocate p_style memory in their context, so we don't free it in
spu_DestroyRegion. As vout object can live longer than decoder, I think
p_style might be used after the decoder has destroyed it.

 Can someone, who has worked on osd/spu internal, comment ?

 > http://trac.videolan.org/vlc/changeset/18958

This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html

More information about the vlc-devel mailing list