-
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