[vlc-commits] packetizer: hxxx: fix typo
Zhao Zhili
git at videolan.org
Thu Jun 22 17:49:33 CEST 2017
vlc | branch: master | Zhao Zhili <wantlamy at gmail.com> | Wed Jun 21 21:10:56 2017 +0800| [719d632e39171a7dcd67b017ff1c8785f725215f] | committer: Francois Cartegnie
packetizer: hxxx: fix typo
Signed-off-by: Francois Cartegnie <fcvlcdev at free.fr>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=719d632e39171a7dcd67b017ff1c8785f725215f
---
modules/packetizer/hxxx_nal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/packetizer/hxxx_nal.c b/modules/packetizer/hxxx_nal.c
index 22c856c650..eb899c6976 100644
--- a/modules/packetizer/hxxx_nal.c
+++ b/modules/packetizer/hxxx_nal.c
@@ -89,7 +89,7 @@ block_t *hxxx_AnnexB_to_xVC( block_t *p_block, uint8_t i_nal_length_size )
if(i_nalcount == i_list)
{
i_list += 16;
- struct nalmoves_e *p_new = malloc( sizeof(*p_new) * i_list );
+ struct nalmoves_e *p_new = realloc( p_list, sizeof(*p_new) * i_list );
if(unlikely(!p_new))
goto error;
p_list = p_new;
More information about the vlc-commits
mailing list