Backport of "audio/videodecoder: Initialize max_errors in instance_init()" into 1.18
Backport of !882 (merged) "audio/videodecoder: Initialize max_errors in instance_init()".
Commits:
- 6af87dee audio/videodecoder: Initialize max_errors in instance_init()