aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/libopencore-amr.c
diff options
context:
space:
mode:
authorThilo Borgmann <thilo.borgmann@mail.de>2014-09-25 16:10:58 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-09-25 18:03:09 +0200
commite113692c899f6d0b9e9f4307865d3c0a030fa20c (patch)
tree4446f2b91a7af9d72131fc397ed3bb3f4126d5a1 /libavcodec/libopencore-amr.c
parentce6e46be72292a748f37af50bfd5001dc5daa0e7 (diff)
downloadffmpeg-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 'libavcodec/libopencore-amr.c')
0 files changed, 0 insertions, 0 deletions