Please at least factor this out..

````
struct DVDCodecEnabledType {
AVCodec codec;
const char* setting;
}

DVDCodecEnabledType g_vdpau_enabled[] = {
  { AV_CODEC_ID_H263, "videoplayer.usevdpaumpeg4" }
...
}

bool DVDCodecs::GetCodecDisabled(DVDCodecEnabledType*, count);

enabled = GetCodecDisabled(g_vdpau..., count);


````