Skip to content
  • Thomas Guillem's avatar
    decoder: fix out_pool NULL deref · fa3e6c11
    Thomas Guillem authored
    Once the format is configured, a decoder module can request new picture_t via
    decoder_NewPicture() asynchronously. Therefore, the out_pool need to outlive
    the decoder module.
    
    This patch fixes a NULL deref from decoder_NewPicture() when the decoder is
    being destroyed. Indeed, the module need to be unloaded before the out_pool is
    destroyed.
    fa3e6c11