vlc | branch: master | Francois Cartegnie <[email protected]> | Sun Nov 13 19:19:41 2016 +0100| [225c7acc049c069c0376d7627d15b405a90c87dc] | committer: Francois Cartegnie
packetizer: hevc: don't overwrite chain on error (fix #17632) > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=225c7acc049c069c0376d7627d15b405a90c87dc --- modules/packetizer/hevc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/packetizer/hevc.c b/modules/packetizer/hevc.c index c96ce5f..39283fe 100644 --- a/modules/packetizer/hevc.c +++ b/modules/packetizer/hevc.c @@ -412,7 +412,7 @@ static block_t *ParseVCL(decoder_t *p_dec, uint8_t i_nal_type, block_t *p_frag) if(unlikely(!hxxx_strip_AnnexB_startcode(&p_buffer, &i_buffer) || i_buffer < 3)) { - block_ChainAppend(&p_sys->frame.p_chain, p_frag); /* might be corrupted */ + block_ChainLastAppend(&p_sys->frame.pp_chain_last, p_frag); /* might be corrupted */ return NULL; } _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
