[vlc-commits] kate: remove invalid clean
Thomas Guillem
git at videolan.org
Tue Apr 27 11:46:45 UTC 2021
vlc/vlc-3.0 | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Jan 12 15:26:33 2021 +0100| [acf7da63f1ebebc1ee6e40e6077783634d5ad063] | committer: Hugo Beauzée-Luyssen
kate: remove invalid clean
palette doesn't need to be freed since it's stack allocated.
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>
(cherry picked from commit 73f7b186190ecf5811594b16c7eac4520159ef2d)
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=acf7da63f1ebebc1ee6e40e6077783634d5ad063
---
modules/codec/kate.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/modules/codec/kate.c b/modules/codec/kate.c
index 5f7784791d..cbcb0090c4 100644
--- a/modules/codec/kate.c
+++ b/modules/codec/kate.c
@@ -1169,7 +1169,6 @@ static subpicture_t *SetupSimpleKateSPU( decoder_t *p_dec, subpicture_t *p_spu,
CreateKatePalette( fmt.p_palette, ev->palette );
p_bitmap_region = subpicture_region_New( &fmt );
- video_format_Clean( &fmt );
if( !p_bitmap_region )
{
msg_Err( p_dec, "cannot allocate SPU region" );
More information about the vlc-commits
mailing list