Skip to content

add null-ptr check for avcodec_alloc_frame in process_audio#29

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

add null-ptr check for avcodec_alloc_frame in process_audio#29
yangzao wants to merge 1 commit into
johmathe:masterfrom
yangzao:avcodec_alloc_frame2

Conversation

@yangzao

@yangzao yangzao commented May 28, 2026

Copy link
Copy Markdown

Hi, I found this avcodec_alloc_frame call in film::process_audio() lacks a nullptr check, which causes a 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