[vlc-commits] codec: dvbsub: fix regression (#17737)

Francois Cartegnie git at videolan.org
Sun Dec 4 10:47:29 CET 2016


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sun Dec  4 10:46:07 2016 +0100| [d6555063e85460e19efa44fe05101fb58ac580b9] | committer: Francois Cartegnie

codec: dvbsub: fix regression (#17737)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d6555063e85460e19efa44fe05101fb58ac580b9
---

 modules/codec/dvbsub.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/codec/dvbsub.c b/modules/codec/dvbsub.c
index 293e1ff..040c06f 100644
--- a/modules/codec/dvbsub.c
+++ b/modules/codec/dvbsub.c
@@ -1619,6 +1619,7 @@ static subpicture_t *render( decoder_t *p_dec )
         }
 
         p_spu_region = subpicture_region_New( &fmt );
+        fmt.p_palette = NULL; /* was stack var */
         video_format_Clean( &fmt );
         if( !p_spu_region )
         {



More information about the vlc-commits mailing list