lavu/opt: handle NULL obj in av_opt_next
authorLukasz Marek <lukasz.m.luki2@gmail.com>
Sat, 22 Nov 2014 23:48:17 +0000 (00:48 +0100)
committerLukasz Marek <lukasz.m.luki2@gmail.com>
Tue, 25 Nov 2014 22:09:16 +0000 (23:09 +0100)
commitea0d8938173e12b289243c88c6a79dc6651e6ed9
tree10dad812cf89e27af12663f3ae9438c2d3562144
parent2a89afb376aebe833bee0b5958cec16c48936b03
lavu/opt: handle NULL obj in av_opt_next

It indirectly also fixes av_opt_free for NULL objs.

Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
libavutil/opt.c