Skip to content
  • Pierre Lamot's avatar
    avcodec: moves the cleanup of the AVCodecContext to the va module · 1d43024f
    Pierre Lamot authored and Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf committed
    If the va module succeed to open but is identified as unusable before the end of
    FFmpeg getFormat callback, the module may have to do some cleanups in the
    AVCodecContext.
    
    the close callback will be called with a NULL AVCodecContext outside the
    getFormat callback as the AVCodecContext ownership is transferred to FFmpeg
    1d43024f