Skip to content
Snippets Groups Projects
Commit e113692c authored by Thilo Borgmann's avatar Thilo Borgmann Committed by Michael Niedermayer
Browse files

lavu/ffmpeg_opt: Check return value of avcodec_find_encoder().


Prevents a segfault if a stream featuring a known but unavailable codec (like external lib codec) should be opened.

Bug found by: Jonas Geistert <j.geistert@yahoo.de>

Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent ce6e46be
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment