Used the AVCodecContext given to AVCodecContext::get_format() and not the global one.
The global one may not be in synch when the callback is called.
Showing
Please register or sign in to comment
The global one may not be in synch when the callback is called.