OpenImageIO/oiio — pull request #859 by lgritz (2014-05-21 06:12:10+00:00)
Title: Replace runtime array size (incompatible with some old compilers) with vector

In addition to working with old compilers (MSVC 9, I'm looking at you), the new way is safe against stack overflows if the padding amount is for some reason very large. It's generally once per subimage in a DPX file, there's no appreciable penalty for allocating it on the heap and being totally safe with it.