added avcodec.open backwards-compatibility (with or without input options)