You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-29 05:57:37 +02:00
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:
@@ -209,10 +209,8 @@ static void evc_parser_close(AVCodecParserContext *s)
|
||||
|
||||
for(int i = 0; i < EVC_MAX_PPS_COUNT; i++) {
|
||||
EVCParserPPS *pps = ctx->pps[i];
|
||||
EVCParserSliceHeader *sh = ctx->slice_header[i];
|
||||
|
||||
av_freep(&pps);
|
||||
av_freep(&sh);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user