diff options
author | Thilo Borgmann <thilo.borgmann@mail.de> | 2014-09-25 16:10:58 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-09-25 18:03:09 +0200 |
commit | e113692c899f6d0b9e9f4307865d3c0a030fa20c (patch) | |
tree | 4446f2b91a7af9d72131fc397ed3bb3f4126d5a1 /ffmpeg.c | |
parent | ce6e46be72292a748f37af50bfd5001dc5daa0e7 (diff) | |
download | ffmpeg-e113692c899f6d0b9e9f4307865d3c0a030fa20c.tar.gz |
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: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
0 files changed, 0 insertions, 0 deletions