avcodec/evc_parse: use a local EVCParserSliceHeader when parsing slices

There's no need to store EVC_MAX_PPS_COUNT amount of slice headers in EVCParserContext.

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2023-06-15 11:03:51 -03:00
parent 57879b23bc
commit 44f26315c8
3 changed files with 21 additions and 35 deletions