libopenh264enc: Simplify init by setting FF_CODEC_CAP_INIT_CLEANUP
authorMartin Storsjö <martin@martin.st>
Thu, 14 Jul 2016 19:24:55 +0000 (22:24 +0300)
committerMartin Storsjö <martin@martin.st>
Fri, 15 Jul 2016 10:36:23 +0000 (13:36 +0300)
commit7a76371437f9562c3414f985523f883489e3936a
treedca365425575293c3d9963c84f3e7b49ace69f51
parent2d097c16b833c532ac974a7f1fd05c0a1f3b7675
libopenh264enc: Simplify init by setting FF_CODEC_CAP_INIT_CLEANUP

Also set FF_CODEC_CAP_INIT_THREADSAFE while adding internal capabilities.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/libopenh264enc.c