Update pixfmt and fix typo in avcodec