avformat/matroskaenc: refactor checks for allowed codecs in WebM
authorJames Almer <jamrial@gmail.com>
Fri, 21 Sep 2018 19:18:15 +0000 (16:18 -0300)
committerJames Almer <jamrial@gmail.com>
Wed, 26 Sep 2018 18:17:14 +0000 (15:17 -0300)
commit8439656503e9189bc34dcb71aa3fc76a20d6a4b2
tree7bc2b443bafb38e3c8166da0c14b75c665f072f9
parent794079e81529f63e32ffc3e8ac4a9dae3b80e765
avformat/matroskaenc: refactor checks for allowed codecs in WebM

Use the new ff_webm_codec_tags[] array for this purpose.

Signed-off-by: James Almer <jamrial@gmail.com>
libavformat/matroskaenc.c