crosswalk-project/chromium-crosswalk — pull request #99 by nagineni (2013-12-23 11:08:11+00:00)
Title: Make CodecIDToAudioCodec and CodecIDToVideoCodec available as global functions

Make CodecIDToAudioCodec and CodecIDToVideoCodec available as global
functions, so that they can be used by Device Capabilities getAVCodecs()
interface to query the list of supported codecs.

These utility functions converts an FFmpeg audio codec ID into its corresponding
supported codec id.