Skip to content

add null-ptr check for avcodec_alloc_frame in film::process()#27

Open
yangzao wants to merge 1 commit into
johmathe:masterfrom
yangzao:avcodec_alloc_frame
Open

add null-ptr check for avcodec_alloc_frame in film::process()#27
yangzao wants to merge 1 commit into
johmathe:masterfrom
yangzao:avcodec_alloc_frame

Conversation

@yangzao

@yangzao yangzao commented May 28, 2026

Copy link
Copy Markdown

Hi, I found this avcodec_alloc_frame call in film::process() lack a nullptr check, which causes nullptr dereference when the function fails. This commit adds such a check for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant