Commit b43aa847 authored by Gildas Bazin's avatar Gildas Bazin

* modules/packetizer/h264.c: oops, forgot to remove a bit of debug code.

parent 313acca3
...@@ -182,7 +182,7 @@ static int Open( vlc_object_t *p_this ) ...@@ -182,7 +182,7 @@ static int Open( vlc_object_t *p_this )
for( i = 0; i < i_sps; i++ ) for( i = 0; i < i_sps; i++ )
{ {
int i_length = GetWBE( p ); int i_length = GetWBE( p );
block_t *p_sps = nal_get_annexeb( p_dec, p+2, i_length ); block_t *p_sps = nal_get_annexeb( p_dec, p + 2, i_length );
ParseNALBlock( p_dec, p_sps ); ParseNALBlock( p_dec, p_sps );
p += 2 + i_length; p += 2 + i_length;
...@@ -192,7 +192,7 @@ static int Open( vlc_object_t *p_this ) ...@@ -192,7 +192,7 @@ static int Open( vlc_object_t *p_this )
for( i = 0; i < i_pps; i++ ) for( i = 0; i < i_pps; i++ )
{ {
int i_length = GetWBE( p ); int i_length = GetWBE( p );
block_t *p_pps = nal_get_annexeb( p_dec, p+2, i_length ); block_t *p_pps = nal_get_annexeb( p_dec, p + 2, i_length );
ParseNALBlock( p_dec, p_pps ); ParseNALBlock( p_dec, p_pps );
p += 2 + i_length; p += 2 + i_length;
...@@ -209,8 +209,6 @@ static int Open( vlc_object_t *p_this ) ...@@ -209,8 +209,6 @@ static int Open( vlc_object_t *p_this )
p_dec->pf_packetize = Packetize; p_dec->pf_packetize = Packetize;
} }
block_ChainRelease( p_sys->p_frame );
p_sys->p_frame = 0;
return VLC_SUCCESS; return VLC_SUCCESS;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment