v4l2: use codec descriptors for mapping a codec name to id
authorAnton Khirnov <anton@khirnov.net>
Wed, 14 Dec 2016 12:22:19 +0000 (13:22 +0100)
committerAnton Khirnov <anton@khirnov.net>
Mon, 19 Dec 2016 07:07:15 +0000 (08:07 +0100)
commit0fea8555ae25124c21f4c4f55a5fa76e9169aa03
treeacd624b7d713fceb93e9246a440da1d0a1da7afa
parentee480790c7eeb03c9cebd8971c46e0cb7db65277
v4l2: use codec descriptors for mapping a codec name to id

This mapping has nothing to do with decoder implementations, so using
decoder names is wrong.
libavdevice/v4l2.c