Fix direct use of av_pix_fmt_descriptors

(cherry picked from commit e9076142f0f046eef48049243e0c2be51500eae0)

From: Derek Buitenhuis <derek.buitenhuis@gmail.com>

Originally committed to SVN as r757.