[Coverity 1665497] Dereference null return value in ts.c
If the function actually returns a null value, a null pointer dereference will occur.
In FixPES: Return value of function which returns null is dereferenced without checking (CWE-476)
1572 else if( i_size > STD_PES_PAYLOAD )
1573 {
3. returned_null: vlc_frame_Alloc returns NULL (checked 198 out of 235 times).[show details]
4. var_assigned: Assigning: p_new = NULL return value from vlc_frame_Alloc.
1574 block_t *p_new = block_Alloc( STD_PES_PAYLOAD );
CID 1665497: (#1 of 1): Dereference null return value (NULL_RETURNS)
5. dereference: Dereferencing p_new, which is known to be NULL.
1575 memcpy( p_new->p_buffer, p_data->p_buffer, STD_PES_PAYLOAD );