Browse Source

packetizer:copy: fix a leak on error

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
pull/60/head
Steve Lhomme 9 years ago
committed by Jean-Baptiste Kempf
parent
commit
78e426dab4
  1. 1
      modules/packetizer/copy.c

1
modules/packetizer/copy.c

@ -116,6 +116,7 @@ static int Open( vlc_object_t *p_this )
if( !fcc )
{
msg_Err( p_dec, "unknown raw audio sample size" );
free( p_sys );
return VLC_EGENERIC;
}
p_dec->fmt_out.i_codec = fcc;

Loading…
Cancel
Save