Example #1
0
File: vc1.c Project: jeeb/L-SMASH
void vc1_destruct_specific_data( void *data )
{
    if( !data )
        return;
    lsmash_destroy_vc1_headers( data );
    free( data );
}
Example #2
0
File: vc1.c Project: jeeb/L-SMASH
void vc1_cleanup_parser( vc1_info_t *info )
{
    if( !info )
        return;
    lsmash_destroy_vc1_headers( &info->dvc1_param );
    lsmash_destroy_multiple_buffers( info->buffer.bank );
    lsmash_bits_adhoc_cleanup( info->bits );
}
Example #3
0
void vc1_cleanup_parser( vc1_info_t *info )
{
    if( !info )
        return;
    lsmash_destroy_vc1_headers( &info->dvc1_param );
    lsmash_stream_buffers_cleanup( info->buffer.sb );
    lsmash_bits_adhoc_cleanup( info->bits );
    info->bits = NULL;
}