Browse Source

hxxx_sei: fix memory leak on error

pull/132/head
Alexandre Janniaux 5 years ago
committed by Hugo Beauzée-Luyssen
parent
commit
e0dc6167a7
  1. 3
      modules/packetizer/hxxx_sei.c

3
modules/packetizer/hxxx_sei.c

@ -109,7 +109,10 @@ void HxxxParseSEI(const uint8_t *p_buf, size_t i_buf,
p_t35[i_t35] = bs_read( &s, 8 );
if( bs_error( &s ) )
{
free( p_t35 );
break;
}
/* TS 101 154 Auxiliary Data and H264/AVC video */
if( i_t35 > 4 && p_t35[0] == 0xb5 /* United States */ )

Loading…
Cancel
Save