Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lavc video: fixed crash when reinit fails
Fixed a crash in situation where compressing stream with properties A, then B but init fails and then again A. This can occur when using switcher for 1->2->1 when compress reconf fails for 2. But because `saved_desc` is set if reconf succeeds and was already set on first configure, the state is inconsistent because partially de/configured for 2 but it looks like it is still correctly configured to input 1 because `saved_desc` was not cleared. refers to GH-365
- Loading branch information