コード例 #1
0
void libavsmash_cleanup_audio_decode_handler
(
    libavsmash_audio_decode_handler_t *adhp
)
{
    if( adhp->frame_buffer )
        av_frame_free( &adhp->frame_buffer );
    cleanup_configuration( &adhp->config );
}
コード例 #2
0
void libavsmash_audio_free_decode_handler
(
    libavsmash_audio_decode_handler_t *adhp
)
{
    if( !adhp )
        return;
    av_frame_free( &adhp->frame_buffer );
    cleanup_configuration( &adhp->config );
    lw_free( adhp );
}
コード例 #3
0
void libavsmash_video_free_decode_handler
(
    libavsmash_video_decode_handler_t *vdhp
)
{
    if( !vdhp )
        return;
    lw_freep( &vdhp->keyframe_list );
    lw_freep( &vdhp->order_converter );
    av_frame_free( &vdhp->frame_buffer );
    av_frame_free( &vdhp->first_valid_frame );
    cleanup_configuration( &vdhp->config );
    lw_free( vdhp );
}