avcodec/codec_desc: sort codec_descriptors
authorMuhammad Faiz <mfcc64@gmail.com>
Fri, 2 Feb 2018 18:07:44 +0000 (01:07 +0700)
committerMuhammad Faiz <mfcc64@gmail.com>
Fri, 9 Feb 2018 10:39:01 +0000 (17:39 +0700)
commit5a2abf00f1949fa3dd64e55ae1963b1fd566e9ab
tree1e70cf5deb4def74451a143e3b39fde3e01233d4
parente752da546463e693865d92a837fc0e8d2b28db2e
avcodec/codec_desc: sort codec_descriptors

Use bsearch on avcodec_descriptor_get().

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
libavcodec/codec_desc.c